Welcome![Sign In][Sign Up]
Location:
Search - VC SORTITE

Search list

[ListView/ListBoxCListView_SortItems

Description: 说明: 本段代码完整实现了在CListView列表中ListItem的排序, 其功能有: 1、实现升序和降序切换; 2、指定行记录不参与排序(比如,不希望首行‘合计’参与排序); 3、对指定列实现单独的排序算法(比如,日期和数值就不能使用同一的排序算法); 4、资源释放(每次点击前,都要释放资源,注意程序退出前,还有资源需要释放。)-Description: a complete code of this paragraph a ListItem in the list of CListView sort, and its features are: 1, ascending and descending order to achieve switching 2, designated to participate in trip records to sort (for example, do not want the first line ' Total' participation in order ) 3, the designated individual to sort out the realization of algorithm (for example, the date and will not be able to use the same values of the sorting algorithm) 4, the release of resources (per-click before the release of all resources and attention from the former procedures, as well as resources the need to release.)
Platform: | Size: 2048 | Author: kangfu | Hits:

CodeBus www.codebus.net