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
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Removes all items from a list box.
void ResetContent( );
// Delete all the items from the list box.
m_myListBox.ResetContent();
ASSERT(m_myListBox.GetCount() == 0);
Header: afxwin.h