HDN_OVERFLOWCLICK notification code

Sent by a header control to its parent when the header's overflow button is clicked. This notification code is sent in the form of an WM_NOTIFY message.


    pNMHeader = (LPNMHEADER) lParam;


lParam [in]

A pointer to a NMHEADER structure that describes the notification code. The calling process is responsible for allocating this structure, including the contained NMHDR structure. Set the members of the NMHDR structure, including the code member that must be set to HDN_OVERFLOWCLICK.

Set the iItem member of the NMHEADER structure to the index of the first header item that is not visible and thus should be displayed on an overflow.

Return value

No return value.


The notification receiver casts LPARAM to retrieve the NMHEADER structure. WPARAM contains the ID of the control that sends the notification.

This message is sent only when style HDS_OVERFLOW is set on the header control.


Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]





Community Additions

© 2015 Microsoft