virtual void OnNewWindow2( LPDISPATCH* ppDisp, BOOL* Cancel );
Parameters
ppDisp
A pointer to an interface pointer that, optionally, receives the IDispatch interface pointer of a new WebBrowser or Internet Explorer object.
Cancel
A pointer to a cancel flag. An application can set this parameter to nonzero to cancel the navigation operation, or to zero to allow it to proceed.
Remarks
This member function is called by the framework when a new window is to be created for displaying a resource. This event precedes the creation of a new window from within the WebBrowser.
CHtmlView Overview | Class Members | Hierarchy Chart
See Also DWebBrowserEvents2::NewWindow2