CGXGridParam::EnableSelection
void EnableSelection(WORD wFlags = GX_SELFULL);
wFlags
-
Specifies the options:
- GX_SELFULL specifies all actions.
- GX_SELNONE specifies no actions.
- GX_SELROW specifies selecting rows.
- GX_SELCOL specifies selecting columns.
- GX_SELTABLE specifies selecting the whole table.
- GX_SELCELL specifies selecting of cells in the grid.
- GX_SELMULTIPLE specifies multiple selections.
- GX_SELSHIFT specifies extending selections by pressing SHIFT.
GX_SELKEYBOARD specifies selecting with SHIFT+Arrow Key.
Remarks
Specifies the options available for the end user or disables selecting cells, rows, columns or the whole table with the keyboard or the mouse.
If you want to disable selecting cells by the end user, you should call
GetParam()->EnableSelection(FALSE);
See Also
CGXGridParam::IsEnableSelection