Share via


IBrowser3::put_SelectionEnabled

The SelectionEnabled property gets or sets a Boolean value indicating that text selection for a control is enabled or disabled.

To set the value of the SelectionEnabled property, call the property method described here.

To get the value of the SelectionEnabled property, see the get_SelectionEnabled property method.

Syntax

HRESULT put_SelectionEnabled(
  VARIANT_BOOL vbSelectionEnabled
);

Parameters

  • vbSelectionEnabled
    [in] Boolean value; VARIANT_TRUE if text selection for a control is enabled and VARIANT_FALSE if text selection is disabled.

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 2003 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.