Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我添加了 LVS_EX_HEADERDRAGDROP 样式,它允许用户拖动列:
myListControl_.SetView(LVS_REPORT); myListControl_.SetExtendedStyle(LVS_EX_HEADERDRAGDROP);
这工作正常。但是,当用户对列重新排序时,我如何获得通知,以便我可以保存新的排序?
ON_NOTIFY_EX(HDN_ENDDRAG, 0, OnHeaderEndDragMethod)
Header_GetOrderArray