Compartir a través de


NMLISTVIEW

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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 that do not use it.
  • uOldState
    Specifies the old item state. This member is zero for messages that do not use it.
  • 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 that do not use it.
  • lParam
    Specifies the item's application-defined 32-bit value. This member is undefined for messages that do not use it.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

NMHDR
List-View Controls Structures