다음을 통해 공유


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

Concepts

CListBox Class

CListBox Members

Hierarchy Chart

LB_RESETCONTENT