ZeeGrid Control Message

ZGM_ENABLECOLMOVE


ZGM_ENABLECOLMOVE

An application sends a ZGM_ENABLECOLMOVE message to enable or disable the users ability to move or reorder the display of columns. When enabled, the user can reorder columns by clicking in the column title to select a column, then use the left and right arrow keys to move the position of that column.

ZGM_ENABLECOLMOVE
wParam = (WPARAM) (BOOL) fEnable;  //enable flag
lParam = 0;                        //not used; must be zero

Parameters

fEnable
Value of wParam. Specifies whether to enable or disable column moving or reordering. A value of TRUE enables column moving; a value of FALSE disables column moving.

Return Values

This message does not return a value.

Remarks

Fixed columns cannot be moved.

Moving or reordering the display of columns does not alter the index of the cells in the ZeeGrid. If column 7 is moved to the 3rd display column, the cells in that column are still addressed as being column 7.

Column moving is enabled by default.

Copyright © 2002-2016 by David Hillard