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
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