LVM_DELETEALLITEMS message

Removes all items from a list-view control. You can send this message explicitly or by using the ListView_DeleteAllItems macro.

Parameters

wParam

Must be zero.

lParam

Must be zero.

Return value

Returns TRUE if successful, or FALSE otherwise.

Remarks

When a list-view control receives the LVM_DELETEALLITEMS message, it sends the LVN_DELETEALLITEMS notification code to its parent window.

Requirements

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