Partager via


NMHEADER (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

Header Controls Structures
HDITEM
NMHDR