I Have a app running background. I use it to get the url on IE if the IE is running... It's better if It is a hook not a loop enum the windows. How can do that?
A:
The official, non-window enuming way to do this is to author a BHO, implement IObjectWithSite and then get the IWebBrowser2 pointer from your site. IWebBrowser2::get_LocationUrl() will give you the URL.
jeffamaphone
2009-12-28 17:24:11