ListView_DeleteAllItems
A version of this page is also available for
4/8/2010
This macro removes all items from a list-view control. You can use this macro or send the LVM_DELETEALLITEMS message explicitly.
Syntax
BOOL ListView_DeleteAllItems(
HWND hwnd
);
Parameters
- hwnd
Handle to the list-view control.
Return Value
TRUE indicates success. FALSE indicates failure.
Remarks
When a list-view control receives the LVM_DELETEALLITEMS message, it sends the LVN_DELETEALLITEMS message to its parent window.
Related message: LVM_DELETEALLITEMS
Requirements
Header | commctrl.h |
Windows Embedded CE | Windows CE 1.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |