Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Deletes (clears) the current selection, if any, in the edit control of the combo box.
void Clear( );
Remarks
To delete the current selection and place the deleted contents onto the Clipboard, use the Cut member function.
Example
// Delete all of the text from the combo box's edit control.
m_MyComboBox.SetEditSel(0, -1);
m_MyComboBox.Clear();
Requirements
Header: afxwin.h