NMLISTVIEW

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.

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

OS Versions: Windows CE 2.0 and later.
Header: Commctrl.h.

See Also

NMHDR | List-View Controls Structures

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.