Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The NewWindow2 event method fires when a new window is to be created.
Syntax
void NewWindow2( IDispatch** ppdisp, VARIANT_BOOL* pvbCancel);
Parameters
- 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.
Return Values
None.
Remarks
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.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: webvw.h
Library: wvuuid.lib
See Also
Send Feedback on this topic to the authors