Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DISPID_NEWWINDOW2 event fails to get a URL from the DISPID_BEFORENAVIGATE2 event

91 views
Skip to first unread message

John Seganakis

unread,
Jun 15, 2006, 3:28:55 PM6/15/06
to
Hello,

I have a problem with a popup window loading properly. I do capture the
event DISPID_NEWWINDOW2 to load a new IWebBrowser2 control. It all works
fine if I open a new window, however when there is simple javascript that
does not seem to load after the new object is created. Server side CGI
script is used to create the popup widow. I am just trying to handle this
and do not have access to the script to know what it is doing precisely. All
I know is when I create my new webbrowser object it all seems to fall apart.
DISPID_BEFORENAVIGATE2 does not get the url of the client side javascript
that is to be loaded, thus there is nothing for the new control to load. All
I do know is that if I allow IE to load the popup it seems to get the url
that my overriding object does not get.

Not sure what is happening. Could the server side script have a built in
timeout that is reached before my new control gets loaded?

thanks,
John


0 new messages