Share via


CListBox::ResetContent

Removes all items from a list box.

void ResetContent( );

Example

// Delete all the items from the list box.
m_myListBox.ResetContent();
ASSERT(m_myListBox.GetCount() == 0);

Requirements

Header: afxwin.h

See Also

Reference

CListBox Class

Hierarchy Chart

LB_RESETCONTENT

Other Resources

CListBox Members