--- description: "Learn more about: Using CHeaderCtrl" title: "Using CHeaderCtrl" ms.date: "11/04/2016" helpviewer_keywords: ["header controls [MFC], using", "CHeaderCtrl class [MFC]"] ms.assetid: fb3e512b-9539-43c4-a7e7-3fafd6d0706e --- # Using CHeaderCtrl Use a header control, represented by class [CHeaderCtrl](../mfc/reference/cheaderctrl-class.md), to display column headers for a columnar list. For example, a header control would be useful for implementing column controls in a spreadsheet. The header control is usually divided into parts, called "header items," each bearing a title for the associated column of text or numbers. Depending on the styles you set, you can provide a number of direct ways for users to manipulate the header items. > [!NOTE] > [CListCtrl](../mfc/reference/clistctrl-class.md) provides an embedded header control, and [CListView](../mfc/reference/clistview-class.md) encapsulates `CListCtrl` in an MFC class. In general, think of using `CHeaderCtrl` to label lists that you intend to draw yourself. ## What do you want to know more about - [Header Control and List Control](../mfc/header-control-and-list-control.md) - [Header Control Examples](../mfc/header-control-examples.md) - [Header Items in a Header Control](../mfc/header-items-in-a-header-control.md) - [Customizing the Header Item's Appearance](../mfc/customizing-the-header-item-s-appearance.md) - [Providing Drag-and-Drop Support for Header Items](../mfc/providing-drag-and-drop-support-for-header-items.md) - [Using Image Lists with Header Controls](../mfc/using-image-lists-with-header-controls.md) - [Making Owner-Drawn Header Controls](../mfc/making-owner-drawn-header-controls.md) - [Working with a Header Control](../mfc/working-with-a-header-control.md) - [Creating the Header Control](../mfc/creating-the-header-control.md) - [Adding Items to the Header Control](../mfc/adding-items-to-the-header-control.md) - [Ordering Items in the Header Control](../mfc/ordering-items-in-the-header-control.md) - [Processing Header-Control Notifications](../mfc/processing-header-control-notifications.md) ## See also [Controls](../mfc/controls-mfc.md)