Prev Next

ListView_DeleteAllItems info  Overview  Group

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.

Remarks

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

See Also

LVM_DELETEALLITEMS, LVN_DELETEALLITEMS