The header control is not directly available in the dialog editor (although you can add a list control, which includes a header control). ClassWizard doesn't support adding data members of type CHeaderCtrl.
To put a header control in a dialog box
To put a header control in a view (not a CListView)
In either case, the embedded control object is created when the view or dialog object is created. Then you must call CHeaderCtrl::Create to create the control window. To position the control, call CHeaderCtrl::Layout to determine the control's initial size and position and SetWindowPos to set the position you want. Then add items as described in Adding Items to the Header Control.
For more information, see Creating a Header Control in the Platform SDK.