Partager via


LVN_DELETEALLITEMS

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message notifies a list-view control parent window that all items in the control were deleted. It is sent in the form of a WM_NOTIFY message.

Syntax

LVN_DELETEALLITEMS pnmv = (NM_LISTVIEW FAR *) lParam;

Parameters

  • pnmv
    Pointer to an NMLISTVIEW structure. The iItem member is –1, and the other members are zero.

    A list-view control sends the LVN_DELETEALLITEMS message when it is destroyed or when it receives the LVM_DELETEALLITEMS message. If LVN_DELETEALLITEMS does not return TRUE, the control will also send an LVN_DELETEITEM message as each item is deleted.

Return Value

To suppress subsequent LVN_DELETEITEM messages, return TRUE. To receive subsequent LVN_DELETEITEM messages, return FALSE.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

List-View Controls Notifications
List-View Controls Messages
WM_NOTIFY
NMLISTVIEW