Spread 8.0 Documentation
SSGetScrollBarStyle, SSSetScrollBarStyle Functions
Support Options
DLL Reference > DLL Functions > SSGetScrollBarStyle, SSSetScrollBarStyle Functions

Glossary Item Box

SSGetScrollBarStyle, SSSetScrollBarStyle Functions


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Set or return the appearance for the scroll bars.

Syntax

C

WORD SSGetScrollBarStyle(HWND hWnd);

WORD SSSetSscrollBarStyle(HWND hWnd, WORD nStyle);

C++

WORD TSpread::GetScrollBarStyle();

WORD TSpread::SetScrollBarStyle(WORD nStyle);

Parameters

The SSGetScrollBarStyle function has the following parameter:

Parameter Description
hWnd Window handle of the fpSpread control

The SSSetScrollBarStyle function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpread control
wStyle Settings for the scroll bar appearance:
Constant Description
SS_SCROLLBARSTYLE_INHERIT Uses the appearance from the SSSetAppearanceStyle function
SS_SCROLLBARSTYLE_CLASSIC Uses the classic appearance
SS_SCROLLBARSTYLE_VISUALSTYLES Uses the visual styles appearance
SS_SCROLLBARSTYLE_ENHANCED Uses the enhanced appearance

Remarks

Use this function if you wish to have a scroll bar appearance that is different from the SSSetAppearanceStyle function. By default, the scroll bars inherit the appearance from the appearance style function.

Return Value

The nStyle value.

See Also

SSGetAppearanceStyle, SSSetAppearanceStyle functions

ActiveX Correspondence

ScrollBarStyle, AppearanceStyle properties

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.