Rishi
June 14th, 1999, 01:09 PM
Drag And Drop Headers (CListCtrl)
SendMessage(LVM_SETEXTENDEDLISTVIEWSTYLE, 0, LVS_EX_HEADERDRAGDROP);
The above message enables the dragging of columns but I am not sure which message to trap when user is done with dragging.
Since its a owner draw ctrl, I tried using GetColumn() to retrieve the new header layout.
But it doesn't, I get back the old layout.
Any hints...
SendMessage(LVM_SETEXTENDEDLISTVIEWSTYLE, 0, LVS_EX_HEADERDRAGDROP);
The above message enables the dragging of columns but I am not sure which message to trap when user is done with dragging.
Since its a owner draw ctrl, I tried using GetColumn() to retrieve the new header layout.
But it doesn't, I get back the old layout.
Any hints...