the drag of listview column don't work
-
hello, I'm a begginer with win32 api, and i try to make a SysListview32 (aka WC_listview) with draggable columns to modify it order with the mouse. To do this, i create it with the LVS_EX_HEADERDRAGDROP etended style, like this : ListView = CreateWindowEx( LVS_EX_HEADERDRAGDROP, WC_LISTVIEW, NULL, WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | LVS_REPORT, 0, 0, RectParent.right, RectParent.bottom, hwnd, NULL, hInstance, NULL ); The listview appears correctly with columns and items, but don't work when i try to move a column with mouse. Do i forget something ??? Thank you in advance !!
-
hello, I'm a begginer with win32 api, and i try to make a SysListview32 (aka WC_listview) with draggable columns to modify it order with the mouse. To do this, i create it with the LVS_EX_HEADERDRAGDROP etended style, like this : ListView = CreateWindowEx( LVS_EX_HEADERDRAGDROP, WC_LISTVIEW, NULL, WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | LVS_REPORT, 0, 0, RectParent.right, RectParent.bottom, hwnd, NULL, hInstance, NULL ); The listview appears correctly with columns and items, but don't work when i try to move a column with mouse. Do i forget something ??? Thank you in advance !!