CListCtrl::DeleteAllItems

BOOL DeleteAllItems( );

Return Value

Nonzero if successful; otherwise zero.

Remarks

Call this function to delete all items from the list view control.

Example

// The pointer to my list view control.
extern CListCtrl* pmyListCtrl;

// Delete all of the items from the list view control.
pmyListCtrl->DeleteAllItems();
ASSERT(pmyListCtrl->GetItemCount() == 0);

CListCtrl OverviewClass MembersHierarchy Chart

See Also   CListCtrl::InsertItem, CListCtrl::DeleteItem