Processing Header-Control Notifications

HomeOverviewSample

In your view or dialog class, use ClassWizard to create an OnChildNotify handler function with a switch statement for any header-control (CHeaderCtrl) notification messages you want to handle. 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 Notification Messages in the Platform SDK.

See Also   Windows Common Controls and MFC Classes