Partager via


NMLISTVIEW (Compact 2013)

3/28/2014

This structure contains information about a list-view message. This structure is the same as the NM_LISTVIEW structure, but has been renamed to fit standard naming conventions.

Syntax

typedef struct tagNMLISTVIEW {
  NMHDR hdr;
  int iItem;
  int iSubItem;
  UINT uNewState;
  UINT uOldState;
  UINT uChanged;
  POINT ptAction;
  LPARAM lParam;
} NMLISTVIEW, FAR* LPNMLISTVIEW;

Members

  • hdr
    NMHDR structure that contains information about this message.
  • iItem
    Identifier of the list-view item, or -1 if not used.
  • iSubItem
    Identifier of the subitem, or zero if none.
  • uNewState
    Specifies the new item state. This member is zero for messages in which it is not used.
  • uOldState
    Specifies the old item state. This member is zero for messages in which it is not used.
  • uChanged
    Set of flags that indicate the item attributes that have changed. This member is zero for messages that do not use it. Otherwise, it can have the same values as the mask member of the LVITEM structure.
  • ptAction
    Specifies a POINT structure that indicates the location at which the event occurred. This member is undefined for messages in which it is not used.
  • lParam
    Specifies the item's application-defined 32-bit value. This member is undefined for messages in which it is not used.

Requirements

Header

commctrl.h

See Also

Reference

List-View Controls Structures
NMHDR