How to prevent a new window from opening in hosted Internet Explorer
I have an instance of Internet Explorer (web control) in the ATxWindow ATL class. How to prevent a website from opening a new window from hosted IE? I already set the implementation of IDocHostUIHandlerDispatch to disable the context menu.
0
vividos
source
to share
1 answer
The WebBrowser ActiveX control has an event for displaying a new window (NewWindow, NewWindow2, NewWindow3) that must be listened to and discarded.
+1
Jeff yates
source
to share