Contents Index Topic Contents | ||
Previous Topic: HDLAYOUT Next Topic: NMHEADER |
NMHDDISPINFO
typedef struct tagNMHDDISPINFO { NMHDR hdr; int iItem; UINT mask; LPTSTR pszText; int cchTextMax; int iImage; LPARAM lParam; } NMHDDISPINFO, FAR* LPNMHDDISPINFO;Contains information used in handling HDN_GETDISPINFO notification messages.
- hdr
- NMHDR structure containing information about this notification message.
- iItem
- Zero-based index of the item in the header control.
- mask
- Set of bit flags specifying which members of the structure must be filled in by the owner of the header control. This value can be a combination of the following values:
HDI_TEXT The pszText field must be filled in. HDI_IMAGE The iImage field must be filled in. HDI_LPARAM The lParam field must be filled in. HDI_DI_SETITEM A return value. Indicates that the header control should store the item information and not ask for it again. - pszText
- Address of a null-terminated string containing the text that will be displayed for the header item.
- cchTextMax
- Size of the buffer that pszText points to.
- iImage
- Zero-based index of an image within the image list. The specified image will be displayed with the header item, but it does not take the place of the item's bitmap. If iImage is set to I_IMAGECALLBACK, the control requests image information for this item by using an HDN_GETDISPINFO notification message.
- lParam
- 32-bit value to associate with the item.
Version 4.70
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.