Spread 8.0 Documentation
SSGetHighlightStyle, SSSetHighlightStyle Functions
Support Options
DLL Reference > DLL Functions > SSGetHighlightStyle, SSSetHighlightStyle Functions

Glossary Item Box

SSGetHighlightStyle, SSSetHighlightStyle Functions


See Also    ActiveX    Example

Applies To

fpSpread DLL control

Description

Set or return how a selected block of cells is displayed.

Syntax

C

WORD SSGetHighlightStyle(HWND hWnd);

WORD SSSetHighlightStyle(HWND hWnd, WORD wStyle);

C++

WORD TSpread::GetHighlightStyle(void);

WORD TSpread::SetHighlightStyle(WORD wStyle);

Parameters

The SSGetHighlightStyle function has the following parameter:

Parameter Description
hWnd Window handle of the fpSpread control

The SSSetHighlightStyle function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpread control
wStyle Highlight style to use
Constant Description
0 SS_HIGHLIGHTSTYLE_DEFAULT If SSSetSelColor is set, use color. If AppearanceStyle is classic, use invert, otherwise use alpha blend
1 SS_HIGHLIGHTSTYLE_INVERT Use inverse of header color for highlight
2 SS_HIGHLIGHTSTYLE_COLOR Use SSSetSelColor
3 SS_HIGHLIGHTSTYLE_ALPHABLEND Use alpha blending for header highlight

Remarks

This function is applied to the entire control.

Return Value

Value for the wStyle parameter.

See Also

Customizing the Appearance

SSGetHighlightHeaders, SSSetHighlightAlphBlend functions

ActiveX Correspondence

HighlightHeaders, HighlightStyle, HighlightAlphaBlend properties

Copyright © GrapeCity, inc. All rights reserved.