An application sends a ZGM_ENABLECOLUMNSELECT message to enable or disable the users ability to select a column by clicking the column header.
ZGM_ENABLECOLUMNSELECT
wParam = (WPARAM) (BOOL) fEnable; //enable flag
lParam = 0; //not used; must be zero
This message does not return a value.
By default, column selection is enabled. Setting ZGM_ENABLECOLUMNSELECT to FALSE will let the user double-click a column to sort, but will not highlight the column data.