NM_LISTVIEW  M.GFI1 

The NM_LISTVIEW structure contains information about a list view notification message.

typedef struct tagNM_LISTVIEW { 

    NMHDR hdr;

    int   iItem;

    int   iSubItem;

    UINT  uNewState;

    UINT  uOldState;

    UINT  uChanged;

    POINT ptAction;

    LPARAM lParam;

} NM_LISTVIEW;

 

Members

hdr

Specifies an NMHDR99J.0 structure. The code member of the NMHDR structure can one of the following notification codes that identify the message being sent: LVN_BEGINDRAG2.MJFSU, LVN_BEGINRDRAG7KQPWI, LVN_COLUMNCLICK1YS4GPP, LVN_DELETEALLITEMS1MWVNBY, LVN_DELETEITEMK8_F8D, LVN_INSERTITEM11N0P8, LVN_ITEMCHANGEDJGHO81, or LVN_ITEMCHANGING26TN31.

iItem

Identifies the list view item, or -1 if not used.

iSubItem

Identifies 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

A set of bit flags that indicate the item attributes that have changed. This member is zero for notifications that do not use it. Otherwise, it can have the same values as the mask member of the LV_ITEM3F10CR structure.

ptAction

Specifies a POINT44VP0_ structure that indicates the location at which the event occurred. This member is valid only for the LVN_BEGINDRAG2.MJFSU and LVN_BEGINRDRAG7KQPWI notification messages.

 

Remarks

The address of the NM_LISTVIEW structure is specified as the lParam parameter of the WM_NOTIFY message for several list view notification messages.

See Also

LV_ITEM, LVN_BEGINDRAG, LVN_BEGINRDRAG, LVN_COLUMNCLICK, LVN_DELETEALLITEMS, LVN_DELETEITEM, LVN_INSERTITEM, LVN_ITEMCHANGED, LVN_ITEMCHANGING, WM_NOTIFY