| title |
Processing Header-Control Notifications | Microsoft Docs |
| ms.custom |
|
| ms.date |
11/04/2016 |
| ms.reviewer |
|
| ms.suite |
|
| ms.technology |
|
| ms.tgt_pltfrm |
|
| ms.topic |
article |
| dev_langs |
|
| helpviewer_keywords |
CHeaderCtrl class, processing notifications |
controls [MFC], header |
notifications, processing for CHeaderCtrl |
header controls, processing notifications |
header control notifications |
|
| ms.assetid |
e6c6af7c-d458-4d33-85aa-48014ccde5f6 |
| caps.latest.revision |
11 |
| author |
mikeblome |
| ms.author |
mblome |
| manager |
ghogen |
| translation.priority.ht |
cs-cz |
de-de |
es-es |
fr-fr |
it-it |
ja-jp |
ko-kr |
pl-pl |
pt-br |
ru-ru |
tr-tr |
zh-cn |
zh-tw |
|
Processing Header-Control Notifications
In your view or dialog class, use the Properties window to create an OnChildNotify handler function with a switch statement for any header-control (CHeaderCtrl) notification messages you want to handle (see Mapping Messages to Functions). Notifications are sent to the parent window when the user clicks or double-clicks a header item, drags a divider between items, and so on.
The notification messages associated with a header control are listed in Header Control Reference in the [!INCLUDEwinSDK].
Using CHeaderCtrl
Controls