description | title | ms.date | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|
Learn more about: Working with a Header Control |
Working with a Header Control |
11/04/2016 |
|
af3afb5c-bf97-451b-8fee-3adcb8257210 |
The easy way to use a header control (CHeaderCtrl) is in conjunction with a list control; see Using CListCtrl later in this topic family. You can also use a header control by itself. MFC calls InitCommonControls
for you. The key tasks are as follows:
If the header control object is embedded in a parent view or dialog class, the control is destroyed when the parent is destroyed.