Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This structure contains information used in handling HDN_GETDISPINFOmessages.
Syntax
typedef struct tagNMHDDISPINFO { NMHDR hdr; int iItem; UINT mask; LPTSTR pszText; int cchTextMax; int iImage; LPARAM lParam; } NMHDDISPINFO, FAR* LPNMHDDISPINFO; |
Members
- hdr
-
NMHDRstructure containing information about this message.
- iItem
-
Zero-based index of the item in the header control.
- mask
-
Specifies which members of the structure must be filled in by the owner of the header control. It can be a combination of the following values.
Value Description HDI_TEXT
The pszTextmember must be filled in.
- pszText
-
Pointer to a null-terminated string that contains the text to be displayed for the header item.
- cchTextMax
-
Size of the buffer that pszTextpoints to.
- iImage
-
Zero-based index of an image within the image list. The specified image will be displayed with the header item, but does not take the place of the image specified in the hbmmember. If iImageis set to I_IMAGECALLBACK, the control requests image information for this item by using HDN_GETDISPINFO messages.
- lParam
-
32-bit value to associate with the item.
Requirements
Header | commctrl.h |
Windows Embedded CE | Windows CE 2.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |