Spread 8.0 Documentation
SSGetAppearanceStyle, SSSetAppearanceStyle Functions
Support Options
DLL Reference > DLL Functions > SSGetAppearanceStyle, SSSetAppearanceStyle Functions

Glossary Item Box

SSGetAppearanceStyle, SSSetAppearanceStyle Functions


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Set or return the control appearance style.

Syntax

C

WORD SSGetAppearanceStyle(HWND hWnd);

WORD SSSetAppearanceStyle(HWND hWnd, WORD wStyle);

C++

WORD TSpread::GetAppearanceStyle(void);

WORD TSpread::SetAppearanceStyle(WORD wStyle);

Parameters

The SSGetAppearanceStyle function has the following parameter:

Parameter Description
hWnd Window handle of the fpSpread control

The SSSetAppearanceStyle function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpread control
wStyle Appearance style to use
Constant Description
0 SS_APPEARANCESTYLE_CLASSIC Creates a control with the classic Spread 7 appearance
1 SS_APPEARANCESTYLE_VISUALSTYLES Creates a control that uses the system settings for the visual style
2 SS_APPEARANCESTYLE_ENHANCED Creates a control with three-dimensional headers and focus indicators for the active cell

Remarks

If the project uses a new Spread control, then the enhanced style is used. If the control has been upgraded from an earlier version (Spread 7 or earlier) then the classic style is used. This function is applied to the entire control.

Return Value

Value for the wStyle parameter.

See Also

Customizing the Appearance

SSSetHighlightStyle, SSSetHighlightAlphaBlend, SSSetEnhancedScrollBarColors, SSSetEnhancedCornerColors functions

ActiveX Correspondence

AppearanceStyle, HighlightHeaders, HighlightStyle properties

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