NMLISTVIEW

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

At a Glance

Header file: Commctrl.h
Windows CE versions: 2.0 and later

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 notification 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 notification messages that do not use it.

uOldState

Specifies the old item state. This member is zero for notification messages that do not use it.

uChanged

Set of flags that indicate the item attributes that have changed. This member is zero for notification 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 notification messages that do not use it.

lParam

Specifies the item’s application-defined 32-bit value. This member is undefined for notification messages that do not use it.