Partager via


IBrowser::put_ScrollStyle (Windows CE 5.0)

Send Feedback

The ScrollStyle property gets or sets the scroll bar style.

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

To get the value of the ScrollStyle property, see the get_ScrollStyle property method.

Syntax

HRESULT put_ScrollStyle (  long newVal);

Parameters

  • newVal
    [in] Variable that contains the value for the scroll bar style to set. 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

OS Versions: Windows CE .NET 4.0 and later.
Header: webvw.h
Library: wvuuid.lib

See Also

IBrowser

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.