SSGetUserResizeRow, SSSetUserResizeRow Functions
Applies To
fpSpread DLL control
Description
Set or return the row resize option for the specified row.
Syntax
short SSGetUserResizeRow(HWND hWnd, SS_COORD Row);
short SSSetUserResizeRow(HWND hWnd, SS_COORD Row, short dOption);
short TSpread::GetUserResizeRow(SS_COORD Row);
short TSpread::SetUserResizeRow(SS_COORD Row, short dOption);
Parameters
The SSGetUserResizeRow function has the following parameters:
Parameter | Description |
hWnd | Window handle of the fpSpread control |
Row | Row number for which to return the option (Value can be SS_ALLROWS.) |
The SSSetUserResizeRow function has the following parameters:
Parameter | Description | |
hWnd | Window handle of the fpSpread control | |
Row | Row number to which the option applies (Value can be SS_ALLROWS.) |
|
dOption | Resize option for the row Use one of the following values: |
|
Constant | Description | |
SS_RESIZE_DEFAULT | Uses resize option applied to all rows using the SSSetUserResize function (This is the default option for each row.) |
|
SS_RESIZE_ON | User can resize row (regardless of global settings) | |
SS_RESIZE_OFF | User cannot resize row (regardless of global settings) |
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.
Use the SSSetUserResizeRow function to control whether the user can resize individual rows, regardless of global resize settings.
Return Value
Previous row resize option for the specified row (refer to the dOption parameter for an explanation of the available return values).
See Also
Preventing Resizing of Columns and Rows with the Mouse
SSGetUserResize, SSGetUserResizeCol, SSSetSheet, SSSetUserResize, SSSetUserResizeCol functions
ActiveX Correspondence
UserResizeRow property