Muokkaa

Jaa


LVN_ITEMCHANGED notification code

Notifies a list-view control's parent window that an item has changed. This notification code is sent in the form of a WM_NOTIFY message.

LVN_ITEMCHANGED

    pnmv = (LPNMLISTVIEW) lParam; 

Parameters

lParam

Pointer to an NMLISTVIEW structure that identifies the item and specifies which of its attributes have changed. If the iItem member of the structure pointed to by lParam is -1, the change has been applied to all items in the list view.

Return value

No return value.

Remarks

If a list-view control has the LVS_OWNERDATA style, and the user selects a range of items by holding down the SHIFT key and clicking the mouse, LVN_ITEMCHANGED notification codes are not sent for each selected or deselected item. Instead, you will receive a single LVN_ODSTATECHANGED notification code, indicating that a range of items has changed state.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h