Spread 8.0 Documentation
SSGetSheetVisible, SSSetSheetVisible Functions
Support Options
DLL Reference > DLL Functions > SSGetSheetVisible, SSSetSheetVisible Functions

Glossary Item Box

SSGetSheetVisible, SSSetSheetVisible Functions


See Also    ActiveX    Example

Applies To

fpSpread DLL control

Description

Sets or returns whether the sheet is visible.

Syntax

C

BOOL SSGetSheetVisible(HWND hWnd, short nSheet);

BOOL SSSetSheetVisible(HWND hWnd, short nSheet, BOOL fVisible);

C++

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

Working with the Active Sheet

SSGetSheet, SSGetSheetCount, SSSetSheet, SSSetSheetCount functions

ActiveX Correspondence

SheetVisible property

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