2.2.6.6.3 ComboBox::DeleteString

Description

Syntax

int DeleteString( int nIndex )

Parameters

nIndex

Return

Examples

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
}

Remark

See Also

Header to Include

Control.h