Handling NewWindow Event Of WebBrowser Control 
Author Message
 Handling NewWindow Event Of WebBrowser Control

I am using VB6 in W2000 with IE5.5, and wish to alter the behaviour of the
NewWindow2 event of the WebBrowser Control.

Currently 3 options can be coded in the NewWindow2 event handler
1 - cancel the navigation
2 - navigate to a new IE window (default)
3 - navigate to a new WebBrowser window (many limitations)

I really want to continue the navigation in the top window of the current
WebBrowser without opening any new windows at all.

Can anybody point me in the right direction?

I was really hoping to find something like the sample code (HtmlView.vbp) from
Serge Baranovsky of www.vbcity.com that disables the WebBrowser's right click
context menu.

Many thanks

Donald Cruttenden



Tue, 21 Dec 2004 22:47:49 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Webbrowser control event handling

2. Help, WebBrowser in NewWindow

3. NewWindow worse on IE4 WebBrowser

4. ActiveX control to handle mouseover event handling?

5. -~=###--WHAT IS THE DIFFERENCE BETWEEN HANDLED EVENTS AND UN-HANDLED EVENTS?---#=~-

6. how? NewWindow event to Cut the Crap

7. how? NewWindow event to Cut the Crap

8. Error Handling with WebBrowser Control

9. handling authentication with WebBrowser control

10. WebBrowser control handle

11. Error Handling with WebBrowser Control

12. Error Handling with WebBrowser Control

 

 
Powered by phpBB® Forum Software