SSGetEnhanceStaticCells, SSSetEnhanceStaticCells Functions
Applies To
fpSpread DLL control
Description
Set or return whether a static cell uses the enhanced settings.
Syntax
BOOL SSGetEnhanceStaticCells(HWND hWnd);
BOOL SSSetEnhanceStaticCells(HWND hWnd, BOOL nStyle);
BOOL TSpread::GetEnhanceStaticCells(void);
BOOL TSpread::SetEnhanceStaticCells(BOOL nStyle);
Parameters
The SSGetEnhanceStaticCells function has the following parameter:
Parameter | Description |
hWnd | Window handle of the fpSpread control |
The SSSetEnhanceStaticCells function has the following parameters:
Parameter | Description |
hWnd | Window handle of the fpSpread control |
nStyle | TRUE to use the enhanced appearance; (Default) FALSE otherwise |
Remarks
This function determines whether static text cells should use the enhanced appearance. When the SetEnhanceStaticCells function is set to True, static cells will use the visual style or enhanced setting if the SSSetAppearanceStyle is set to visual or enhanced. If the appearance colors are set with the SSSetEnhancedColumnHeaderColors function and the appearance style is enhanced, the static cells will use those colors. The SS_TEXT_SHADOWIN or SS_TEXT_SHADOW flag must also be true for the static text cell.
This function applies the enhanced or visual appearance to static cells that are not in the header or non-default static cells in the header.
Return Value
SSGetEnhancStaticCells: TRUE if the sheet is in edit mode; FALSE otherwise.
SSSetEnhanceStaticCells: TRUE if the function completes successfully; FALSE otherwise.
See Also
SSSetAppearanceStyle function
ActiveX Correspondence
EnhanceStaticCells property