Description: CListCtrl to display data with more convenient, and sometimes we need to label a column or a certain cell background and font color, or need to change the line height and font size, CListCtrl These are not easy to change. This article describes how to derive a class to change the height of CListCtrl its header, font size, columns, background color, cell background color, line font color, cell font color.
File list (Check if you may need any files):
DemoList\debug\DemoList.exe
........\.....\DemoList.ilk
........\.....\DemoList.pdb
........\DemoList\Debug\BuildLog.htm
........\........\.....\DemoList.exe.embed.manifest
........\........\.....\DemoList.exe.embed.manifest.res
........\........\.....\DemoList.exe.intermediate.manifest
........\........\.....\DemoList.obj
........\........\.....\DemoList.pch
........\........\.....\DemoList.res
........\........\.....\DemoListDlg.obj
........\........\.....\HeaderCtrlCl.obj
........\........\.....\ListCtrlCl.obj
........\........\.....\mt.dep
........\........\.....\stdafx.obj
........\........\.....\vc80.idb
........\........\.....\vc80.pdb
........\........\DemoList.cpp
........\........\DemoList.h
........\........\DemoList.rc
........\........\DemoList.vcproj
........\........\DemoList.vcproj.4437C6B49E6A4C6.Administrator.user
........\........\DemoList.vcproj.C7E6AB63C40D441.Administrator.user
........\........\DemoList.vcproj.PC-201008311722.Administrator.user
........\........\DemoListDlg.cpp
........\........\DemoListDlg.h
........\........\HeaderCtrlCl.cpp
........\........\HeaderCtrlCl.h
........\........\ListCtrlCl.cpp
........\........\ListCtrlCl.h
........\........\ReadMe.txt
........\........\res\DemoList.ico
........\........\...\DemoList.rc2
........\........\Resource.h
........\........\stdafx.cpp
........\........\stdafx.h
........\DemoList.ncb
........\DemoList.sln
........\DemoList.suo
........\参考网址.txt
........\DemoList\Debug
........\........\res
........\debug
........\DemoList
DemoList