CListCtrl & LVS_EX_HEADERDRAGDROP
-
Hi forum, Questions: Does anyone know how to retrieve the actual column arrangement? Does anyone know how to do the drag/drop-operation programmatically? Underlying concept: I know that with a cole like this you may enable Drag & Drop Column arrangement in a CListCtrl: DWORD dwStyle = List.GetExtendedStyle() | LVS_EX_FULLROWSELECT | | LVS_EX_HEADERDRAGDROP; List.SetExtendedStyle(dwStyle); This is not only cool, it even works fine (if IE4 is installed). Now I would like to save the column arrangment for a give CListCtrl to enhance my user interface.... (see questions) Thanks for any ideas!!! Thomas
-
Hi forum, Questions: Does anyone know how to retrieve the actual column arrangement? Does anyone know how to do the drag/drop-operation programmatically? Underlying concept: I know that with a cole like this you may enable Drag & Drop Column arrangement in a CListCtrl: DWORD dwStyle = List.GetExtendedStyle() | LVS_EX_FULLROWSELECT | | LVS_EX_HEADERDRAGDROP; List.SetExtendedStyle(dwStyle); This is not only cool, it even works fine (if IE4 is installed). Now I would like to save the column arrangment for a give CListCtrl to enhance my user interface.... (see questions) Thanks for any ideas!!! Thomas
LVM_GETCOLUMNORDERARRAY and LVM_SETCOLUMNORDERARRAY --Mike-- http://home.inreach.com/mdunn/ #include "buffy_sig"