文件名称:MyListView
介绍说明--下载内容均来自于网络,请自行研究使用
mfc_ListView/ListCtrl 实现点击表头排序与固定列宽
MFC.
1. 自定义CMyListView,继承自CListView, 实现点击表头进行该列排序以及固定某些列宽的功能。使用时直接继承此View即可。
2. 自定义CMyListCtrl, 继承自CMFCListCtrl, 同样实现上述功能,用于listctrl控件。使用时,将控件的control变量更改为CMyListCtrl即可。-mfc_ListView/ListCtrl achieve Click heading to sort table with fixed column width MFC. 1. Customize CMyListView, inherited from CListView, the realization hits the table header to sort the column and the column width fixed some functions. The direct successor to the use of this View. 2 custom CMyListCtrl, inherited from CMFCListCtrl, also achieve the above functions, for listctrl control. When used, the control to change the control variable can CMyListCtrl.
MFC.
1. 自定义CMyListView,继承自CListView, 实现点击表头进行该列排序以及固定某些列宽的功能。使用时直接继承此View即可。
2. 自定义CMyListCtrl, 继承自CMFCListCtrl, 同样实现上述功能,用于listctrl控件。使用时,将控件的control变量更改为CMyListCtrl即可。-mfc_ListView/ListCtrl achieve Click heading to sort table with fixed column width MFC. 1. Customize CMyListView, inherited from CListView, the realization hits the table header to sort the column and the column width fixed some functions. The direct successor to the use of this View. 2 custom CMyListCtrl, inherited from CMFCListCtrl, also achieve the above functions, for listctrl control. When used, the control to change the control variable can CMyListCtrl.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MyListView.cpp
MyListView.h