Export (0) Print
Expand All
MFC
Expand Minimize

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

Community Additions

ADD
Show:
© 2014 Microsoft