Description: 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.
To Search:
File list (Check if you may need any files):
MyListView.cpp
MyListView.h