The HD_NOTIFY structure contains information used to process notification messages from a header control.
typedef struct _HD_NOTIFY { // hdn NMHDR hdr; int iItem; int iButton; HD_ITEM FAR* pitem; } HD_NOTIFY;
Value |
Meaning |
0 |
Left button |
1 |
Right button |
2 |
Middle button |
When a header control sends the HDN_BEGINTRACK, HDN_DIVIDERDBLCLICK, HDN_ENDTRACK, HDN_ITEMCHANGED, HDN_ITEMCHANGING, HDN_ITEMCLICK, or HDN_TRACK notification codes, it passes a pointer to an HD_NOTIFY structure as the lParam parameter of a WM_NOTIFY message.
HD_ITEM, HDN_BEGINTRACK, HDN_DIVIDERDBLCLICK, HDN_ENDTRACK, HDN_ITEMCHANGED, HDN_ITEMCHANGING, HDN_ITEMCLICK, HDN_TRACK, WM_NOTIFY