Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 1.24 KB

processing-header-control-notifications.md

File metadata and controls

17 lines (13 loc) · 1.24 KB
description title ms.date helpviewer_keywords ms.assetid
Learn more about: Processing Header-Control Notifications
Processing Header-Control Notifications
11/04/2016
CHeaderCtrl class [MFC], processing notifications
controls [MFC], header
notifications [MFC], processing for CHeaderCtrl
header controls [MFC], processing notifications
header control notifications
e6c6af7c-d458-4d33-85aa-48014ccde5f6

Processing Header-Control Notifications

In your view or dialog class, use the Class Wizard 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 Windows SDK.

See also

Using CHeaderCtrl
Controls