An application sends a ZGM_ENABLECOLRESIZING message to enable or disable the users ability to resize columns by clicking and dragging the right side of the column header.
ZGM_ENABLECOLRESIZING
wParam = (WPARAM) (BOOL) fEnable; //enable flag
lParam = 0; //not used; must be zero
This message does not return a value.
This message only affects the users ability to resize columns. Columns can still be sized programmatically with the ZGM_SETCOLWIDTH message.
Column resizing is enabled by default.