The HDN_ITEMCLICK notification message notifies a header control’s parent window that the user clicked the control. This notification message is sent in the form of a WM_NOTIFY message.
HDN_ITEMCLICK phdr = (HD_NOTIFY FAR *) lParam;
No return value.
A header control sends this notification message after the user releases the left mouse button.