Home | Overview | Sample
After creating your header control (CHeaderCtrl) in its parent window, add as many "header items" as you need: usually one per column.
To add a header item
For more information, see Adding an Item to a Header Control in the Platform SDK.
See Also Windows Common Controls and MFC Classes