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
This message does not return a value.
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.