_DPIEWebBrowserEvents2::NewWindow2 (Windows CE 5.0)

Send Feedback

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

_DPIEWebBrowserEvents2

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.