Share via


IBrowser3::get_ContextMenuEnabled

The ContextMenuEnabled property gets or sets a Boolean value indicating that context menus are enabled or disabled.

To get the value of the ContextMenuEnabled property, call the property method described here.

To set the value of the ContextMenuEnabled property, see the put_ContextMenuEnabled property method.

Syntax

HRESULT get_ContextMenuEnabled(
  VARIANT_BOOL * pvbContextMenu
);

Parameters

  • pvbContextMenu
    [out] Reference to a Boolean value; VARIANT_TRUE if context menus are enabled and VARIANT_FALSE if context menus are not enabled.

Return Values

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

  • S_OK
    The method completed successfully.

Requirements

Pocket PC: Windows Mobile 2002 and later
OS Versions: Windows CE 4.0 and later
Header: webvw.h
Library: webvw.lib

See Also

IBrowser3

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.