Spread 8.0 Documentation
Example 2
Support Options

Glossary Item Box

Example 2



The following example shows how to let users size only columns, only rows, both, or neither.

{
// Allow user to resize only columns
SSetUserResize(hWnd, SS_USERRESIZE_COL);
...
// Allow user to resize rows and not columns
SSSetUserResize(hWnd, SS_USERRESIZE_ROW);
...
// Allow user to resize both rows and columns
SSSetUserResize(hWnd, SS_USERRESIZE_COL | SS_USERRESIZE_ROW);
...
// Turn off user resizing of rows and columns
SSSetUserResize(hWnd, 0);
}

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