CListCtrl::DeleteAllItems
Deletes all items from the list view control.
BOOL DeleteAllItems( );
Возвращаемое значение
Nonzero if successful; otherwise zero.
Пример
// Delete all of the items from the list view control.
m_myListCtrl.DeleteAllItems();
ASSERT(m_myListCtrl.GetItemCount() == 0);
Требования
Header: afxcmn.h