_DPIEWebBrowserEvents2::NewWindow2 (Windows CE 5.0)
The NewWindow2 event method fires when a new window is to be created.
void NewWindow2( IDispatch** ppdisp, VARIANT_BOOL* pvbCancel);
- ppdisp
[out] Reference to the new window. - pvbCancel
[out] Reference to a Boolean value; VARIANT_TRUE if the new window is created and VARIANT_FALSE if the window is not created.
None.
The event method fires in response to an action or occurrence that creates a new window, such as the following:
- User clicks a link while pressing the SHIFT key.
- User right-clicks a link and selects Open In New Window.
- There is a targeted navigation to a frame name that does not yet exist.
OS Versions: Windows CE .NET 4.0 and later.
Header: webvw.h
Library: wvuuid.lib
Send Feedback on this topic to the authors