WebBrowser, Navigate and NewWindow2
Posted on 1998-06-28
I'm trying to use the WebBrowser control in the following way. I want to call Navigate or Navigate2 with a path to a directory. This works fine. The problem is that I want the navigation to occur in the same window. I don't want a new window to open. I have set the flag in navigate to open a new window, so that I will get the NewWindow2 event. I get this event OK. I then have tried to alter ppDisp so that the same window would be used to no avail. I either get an error, or I get a second window opened. I've looked for examples of what I am trying to do and have found now. The June MSJ article was no help either.
Thanks for any help.