Share via


IBrowser::get_ScrollStyle

The ScrollStyle property gets or sets the scroll bar style.

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

To set the value of the ScrollStyle property, see the put_ScrollStyle property method.

Syntax

HRESULT get_ScrollStyle(
  long * pVal
);

Parameters

  • pVal
    [out] Reference to a variable that receives the value for a scroll bar style. See Remarks for the possible style values.

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.

Remarks

The following table lists the possible values for the pVal parameter.

Value Description
0x0000L Specifies the Windows CE SBS_HORZ style that designates a horizontal scroll bar.
0x0001L Specifies the Windows CE SBS_VERT style that designates a vertical scroll bar.

Requirements

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

See Also

IBrowser

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.