Partager via


CComboBox::ResetContent

Removes all items from the list box and edit control of a combo box.

void ResetContent( );

Example

// Delete all the items from the combo box.
m_pComboBox->ResetContent();
ASSERT(m_pComboBox->GetCount() == 0);

Requirements

Header: afxwin.h

See Also

Concepts

CComboBox Class

CComboBox Members

Hierarchy Chart

CB_RESETCONTENT