New ListCtrl Sorting Algorithm in XP

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 也可以用!

發佈了64 篇原創文章 · 獲贊 2 · 訪問量 17萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章