Spread 8.0 Documentation
SSGetUserResize, SSSetUserResize Functions
Support Options
DLL Reference > DLL Functions > SSGetUserResize, SSSetUserResize Functions

Glossary Item Box

SSGetUserResize, SSSetUserResize Functions


See Also    ActiveX    Example 1        Example 2

Applies To

fpSpread DLL control

Description

Set or return whether the user can resize columns, rows, both, or neither.

Syntax

C

WORD SSGetUserResize(HWND hWnd);

WORD SSSetUserResize(HWND hWnd, WORD wUserResize);

C++

WORD TSpread::GetUserResize( );

WORD TSpread::SetUserResize(WORD wUserResize);

Parameters

The SSGetUserResize function has the following parameter:

Parameter Description
hWnd Window handle of the fpSpread control

The SSSetUserResize function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpread control
wUserResize Combine either of the following values using the (|) OR operator:
Constant Description
SS_USERRESIZE_COL Allows user to resize columns
SS_USERRESIZE_ROW Allows user to resize rows

Remarks

This function is applied to the current sheet setting.

You can provide a value of 0 for the SSSetUserResize wUserResize parameter to prevent the user from resizing columns or rows (see Example 2).

Return Value

SSGetUserResize: Can be a combination of the values of the SSSetUserResize wUserResize parameter. If the value returned is 0, neither rows nor columns can be resized.
SSSetUserResize: Previous value.

Copyright © GrapeCity, inc. All rights reserved.