I have created a lighting component and used it in a visualforce page by using lighting out. Is there any way to display the toast message?
From Salesforce docs:
e.force:showToastevent is handled by the one.app container. It’s supported in Lightning Experience, Salesforce app, and Lightning communities.
It doesn't say anything about classic or VF, so my best guess is You have to manually implement toast using SLDS.