Click to See Complete Forum and Search --> : Have system call my WebBrowser control. Not IE.


April 26th, 1999, 11:10 PM
My application supports a webbrowser control (both MFC CHtmlView, and
IWebBrowser2). Is there a way that the shell can let me know that someone is
about to run IE to display a web page? I want to make sure the requested
page is displayed in MY webbrowser control and not by IE in a new window.

I know how to intercept a double-click on an html or url or lnk file and
direct the request to my browser control. And in my webbrowser control I can
cancel new window requests so that my control is used instead of a new
window.

But there are cases where programs call IE without the user double clicking
on a file. Any way to intercept these calls?

Any help is greatly appreciated!