Sorting items more naturally in ListCtrl, like XP does. Adding a single line into your program to enable this cool feature.
在 CodeProject 寫的第二篇帖子. 這次很快就發表了.
http://www.codeproject.com/cpp/ListCtrlSort.asp
提供了幾個很實用的類. 在你需要用 CListView, CListCtrl 的時候直接替換成 ListViewSort, ListCtrlSort, 那麼, 你的的 ListCtrl 就自動擁有了排序的功能, 而且排序的效果和 XP 一致哦. 絕對值得一試.
WTL 也可以用!