Partager via


NMHDDISPINFO (Compact 2013)

3/28/2014

This structure contains information used in handling HDN_GETDISPINFO messages.

Syntax

typedef struct tagNMHDDISPINFO {
  NMHDR hdr;
  int iItem;
  UINT mask;
  LPTSTR pszText;
  int cchTextMax;
  int iImage;
  LPARAM lParam;
} NMHDDISPINFO, FAR* LPNMHDDISPINFO;

Members

  • hdr
    NMHDR structure 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 pszText member 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 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 does not take the place of the image specified in the hbm member. If iImage is 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

See Also

Reference

Header Controls Structures
HDN_GETDISPINFO
NMHDR