SSGetTabStripButtonPolicy, SSSetTabStripButtonPolicy Functions
Applies To
fpSpread DLL control
Description
Set or return whether tab strip buttons are displayed, and whether they are displayed all the time or as needed.
Syntax
WORD SSGetTabStripButtonPolicy(HWND hWnd);
WORD SSSetTabStripButtonPolicy(HWND hWnd, WORD wTabStripButtonPolicy);
WORD TSpread::GetTabStripButtonPolicy(void);
WORD TSpread::SetTabStripButtonPolicy(WORD wTabStripButtonPolicy);
Parameters
The SSGetTabStripButtonPolicy function has the following parameter:
Parameter | Description |
hWnd | Window handle of the fpSpread control |
The SSSetTabStripButtonPolicy function has the following parameters:
Parameter | Description | |
---|---|---|
hWnd | Window handle of the fpSpread control | |
wTabStripButtonPolicy | When to display the tab button | |
Constant | Description | |
0 | SS_TABSTRIPBUTTONPOLICY_ASNEEDED | (Default) Display the tab strip buttons when there are multiple sheets in the workbook |
1 | SS_TABSTRIPBUTTONPOLICY_ALWAYS | Always display the tab strip buttons |
2 | SS_TABSTRIPBUTTONPOLICY_NEVER | Never display the tab strip buttons |
Remarks
The tab strip buttons allow you to change sheets one at a time or move to the first or last sheet by clicking on the button. This function is applied to the entire control.
Return Value
Value for the wTabStripButtonPolicy parameter.
See Also
SSSetHighlightStyle, SSSetHighlightAlphaBlend functions
ActiveX Correspondence
AppearanceStyle, TabEnhancedShape, TabStripButtonPolicy properties