HDN_ITEMCLICK notification code

Notifies a header control's parent window that the user clicked the control. This notification code is sent in the form of a WM_NOTIFY message.

HDN_ITEMCLICK

    pNMHeader = (LPNMHEADER) lParam; 

Parameters

lParam

A pointer to an NMHEADER structure that identifies the header control and specifies the index of the header item that was clicked and the mouse button used to click the item. The pItem member is set to NULL.

Return value

No return value.

Remarks

A header control sends this notification code after the user releases the left mouse button.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h
Unicode and ANSI names
HDN_ITEMCLICKW (Unicode) and HDN_ITEMCLICKA (ANSI)