CComboBox::ResetContent

void ResetContent( );

Remarks

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

Example

// The pointer to my combo box.
extern CComboBox* pmyComboBox;

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

CComboBox OverviewClass MembersHierarchy Chart

See Also   CB_RESETCONTENT