LVN_DELETEITEM notification code

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


LVN_DELETEITEM

    pnmv = (LPNMLISTVIEW) lParam; 

Parameters

lParam

Pointer to an NMLISTVIEW structure. The iItem member identifies the item being deleted. If the control does not have the LVS_OWNERDATA style, then the lParam is the application-defined data associated with the item. All other members of this structure are zero.

Return value

No return value.

Remarks

Do not add, delete, or rearrange items in the list view while processing this notification code.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Show: