Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Tue, 13 Mar 2007 11:10:30 -0700,    group: microsoft.public.inetsdk.programming.webbrowser_ctl        back       


ppDisp argument to NewWindow2 event   
That ppDisp object that gets passed int o the NewWindow2 event, where does it 
originate? IOW, where does the WebBrowser control get it in order to pass it 
to this event and thereafter use it as a destination window?

If it is accessible, can someone tell me how to get it outside of the 
NewWindow event, so I could set it before executing the Click method of an 
element. I wish to do this because more often than not, the click event to an 
image control that I am dealing with does not fire the NewWindow2 event
date: Tue, 13 Mar 2007 11:10:30 -0700   author:   JonWayn

Re: ppDisp argument to NewWindow2 event   
JonWayn  wrote:
> That ppDisp object that gets passed int o the NewWindow2 event, where
> does it originate?

It's not passed in. It's a place for you to return an object you create. 
See KB article KB184876 "How To Use the WebBrowser Control NewWindow2 
Event"
-- 
With best wishes,
    Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not 
necessarily a good idea. It is hard to be sure where they are going to 
land, and it could be dangerous sitting under them as they fly 
overhead. -- RFC 1925
date: Tue, 13 Mar 2007 15:13:43 -0400   author:   Igor Tandetnik

Google
 
Web ureader.com


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