The ListView_DeleteAllItems macro removes all items from a list view control. You can use this macro or explicitly send the LVM_DELETEALLITEMS message.
BOOL ListView_DeleteAllItems(
HWND hwnd | |
); |
Parameters
hwnd
Handle to the list view control.
Return Values
Returns TRUE if successful or FALSE otherwise.
See Also