SSGetSheetVisible, SSSetSheetVisible Functions
Applies To
fpSpread DLL control
Description
Sets or returns whether the sheet is visible.
Syntax
BOOL SSGetSheetVisible(HWND hWnd, short nSheet);
BOOL SSSetSheetVisible(HWND hWnd, short nSheet, BOOL fVisible);
BOOL TSpread::GetSheetVisible(short nSheet);
BOOL TSpread::SetSheetVisible(short nSheet, BOOL fVisible);
Parameters
The SSGetSheetVisible function has the following parameters:
Parameter | Description |
---|---|
hWnd | Window handle of the fpSpread control |
nSheet | Sheet index |
The SSSetSheetVisible function has the following parameters:
Parameter | Description |
hWnd | Window handle of the fpSpread control |
nSheet | Sheet index |
BOOL | Visible setting |
Remarks
Setting the SSSetSheetVisible function to FALSE hides the tab. The SSSetActiveSheet function can still be set to this sheet in code.
Return Value
SSGetSheetVisible: TRUE if the sheet is visible; FALSE otherwise.
SSSetSheetVisible: Previous visible status of the sheet (TRUE if Visible; FALSE otherwise).
See Also
SSGetSheet, SSGetSheetCount, SSSetSheet, SSSetSheetCount functions
ActiveX Correspondence
SheetVisible property