The LISTHDR sample application demonstrates various attributes and styles for a list view control, implemented with a CListCtrl object, and the embedded header control, implemented with a CHeaderCtrl object.
In addition, the DAOVIEW sample application uses a CListView and, by extension, the underlying CListCtrl.
Tip DAOVIEW also supplies a helpful support class for working with list views. See class CListCtrlEx in the sample. Although CListCtrlEx is not a documented MFC class, you might find it useful in your own applications.