Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
IE
ie55.activexcontrol
ie55.add_ons
ie55.browser
ie55.com.codedownload
ie55.css
ie55.databinding
ie55.dhtml
ie55.dhtml.authoring
ie55.dhtml.behaviors
ie55.dhtml.scripting
ie55.icw
ie55.misc
ie55.multimedia
ie55.oe.stationery
ie55.outlookexpress
ie55.programming
ie55.setup
ie55.webbrowser_ctl
ie6.browser
ie6.ieak
ie6.oe.wishlist
ie6.setup
ie6_oe.stationery
ie6_outlookexpress
  
 
date: Thu, 15 Jun 2006 13:28:55 -0600,    group: microsoft.public.windows.inetexplorer.ie55.programming.webbrowser_ctl        back       


DISPID_NEWWINDOW2 event fails to get a URL from the DISPID_BEFORENAVIGATE2 event   
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
date: Thu, 15 Jun 2006 13:28:55 -0600   author:   John Seganakis

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us