다음을 통해 공유


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

Reference

CComboBox Class

Hierarchy Chart

CB_RESETCONTENT

Other Resources

CComboBox Members