SSGetRowHeaderDisplay, SSSetRowHeaderDisplay Functions
Applies To
fpSpread DLL control
Description
Set or return whether the row header displays letters, numbers, or is blank.
Syntax
WORD SSGetRowHeaderDisplay(HWND hWnd);
WORD SSSetRowHeaderDisplay(HWND hWnd, WORD wDisplay);
WORD TSpread::GetRowHeaderDisplay( );
WORD TSpread::SetRowHeaderDisplay(WORD wDisplay);
Parameters
The SSGetRowHeaderDisplay function has the following parameter:
Parameter | Description |
hWnd | Window handle of the fpSpread control |
The SSSetRowHeaderDisplay function has the following parameters:
Parameter | Description | |
---|---|---|
hWnd | Window handle of the fpSpread control | |
wDisplay | Numbering style Use one of the following values: |
|
Constant | Description | |
SS_HEADERDISPLAY_BLANK | Displays blanks | |
SS_HEADERDISPLAY_NUMBERS | Displays the row headers as numbers | |
SS_HEADERDISPLAY_LETTERS | Displays the row headers as letters |
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 row header is displayed as numbers; however, the row header cells can be blank or display letters. Use the SSSetRowHeaderDisplay function to specify the numbering style of the row header.
Notes:
|
If your control displays multiple row header columns, call the SSSetRowHeadersAutoTextIndex function to specify which row header column contains the auto text.
This function does not have an effect unless the SSB_SHOWROWHEADERS boolean for the SSSetBool function is set to TRUE and the row header columns are not hidden.
Use the SSSetColHeaderDisplay function to specify the numbering style of the column header.
Return Value
Previous value (refer to the wDisplay parameter for an explanation of the available return values).
See Also
Specifying Header Content Type
SSGetColHeaderDisplay, SSGetRowHeadersAutoTextIndex, SSSetColHeaderDisplay, SSSetRowHeadersAutoTextIndex, SSSetSheet functions
ActiveX Correspondence
RowHeadersAutoText property