DeleteString
int DeleteString( int nIndex )
EX1
#include <..\OriginLab\DialogEx.h> #define IDC_COMBO1 1001 void ComboBox_DeleteString_ex1(Dialog& MyDlg) { ComboBox m_cmbBox = MyDlg.GetItem(IDC_COMBO1); int nRet = m_cmbBox.DeleteString(0); // to delete the first item }
Control.h