This structure contains information about header control notification messages. This structure supersedes the HD_NOTIFY structure.
At a Glance
Header file: | Commctrl.h |
Windows CE versions: | 2.0 and later |
Syntax
typedef struct tagNMHEADER{
NMHDR hdr;
int iItem;
int iButton;
HDITEM FAR* pItem;
} NMHEADER, FAR* LPNMHEADER;
Members
hdr
NMHDR structure that contains information about the notification message.
iItem
Zero-based index of the header item that is the focus of the notification message.
iButton
Index of the mouse button used to generate the notification message. It is one of the following values:
Value | Description |
0 | Left button |
1 | Right button |
2 | Middle button |
pItem
Pointer to an HDITEM structure that contains information specific to the item indicated by iItem.