ListView_DeleteAllItems

This macro removes all items from a list view control. You can use this macro or send the LVM_DELETEALLITEMS message explicitly.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later
Related message: LVM_DELETEALLITEMS

Syntax

BOOL ListView_DeleteAllItems( HWND hwnd );

Parameters

hwnd

Handle to the list view control.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

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