Partager via


NMHEADER (Compact 2013)

3/28/2014

This structure contains information about header control messages. This structure supersedes the HD_NOTIFY structure.

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 message.
  • iItem
    Zero-based index of the header item that is the focus of the message.
  • iButton
    Index of the mouse button used to generate the 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.

Requirements

Header

commctrl.h

See Also

Reference

Header Controls Structures
HDITEM
NMHDR