SSGetActiveCellHighlightStyle, SSSetActiveCellHighlightStyle Functions
Applies To
fpSpread DLL control
Description
Sets or returns whether the active cell is highlighted with a focus rectangle.
Syntax
WORD SSGetActiveCellHighlightStyle(HWND hWnd);
void SSSetActiveCellHighlightStyle(HWND hWnd, WORD wActiveCellHighlightStyle);
WORD TSpread::GetActiveCellHighlightStyle(void);
WORD TSpread::SetActiveCellHighlightStyle(WORD wActiveCellHighlightStyle);
Parameters
The SSGetActiveCellHighlightStyle function has the following parameter:
Parameter | Description |
hWnd | Window handle of the fpSpread control |
The SSSetActiveCellHighlightStyle function has the following parameters:
Parameter | Description | |
---|---|---|
hWnd | Window handle of the fpSpread control | |
wActiveCellHighlightStyle | Highlight style Use one of the following values: |
|
Value | Description | |
0 | Active cell does not display the focus rectangle | |
Constant: SS_ACTIVECELLHIGHLIGHTSTYLE_OFF | ||
Value | Description | |
1 | (Default) Active cell displays the focus rectangle | |
Constant: SS_ACTIVECELLHIGHLIGHTSTYLE_OFF |
Remarks
This function is applied to the current sheet setting unless you first call the SSSetSheet function to specify the sheet for which you are calling this function.
By default, the control displays the focus rectangle for the active cell.
Return Value
SSGetActiveCellHighlightStyle: One of the values listed for the SSSetActiveCellHighlightStyle wActiveCellHighlightStyle parameter that represents the current action.
SSSetActiveCellHighlightStyle: None
See Also
SSSetSheet function
ActiveX Correspondence
ActiveCellHighlightStyle property