Share via


ListView_DeleteAllItems (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

List-View Controls Macros
LVM_DELETEALLITEMS