I’m trying to wrap my head around creating a toolbar (a tool band in a rebar) in MFC for Internet Explorer using COM.
Is it possible to get the address of the currently viewed page (i.e., https://stackoverflow.com/questions/ask in my case 🙂 ) from the toolbar?
If so, what should I look in to?
Thanks!
You can use the IWebBrowser2::get_LocationURL method.