2.2.6.6.11 ComboBox::InsertString

Description

Syntax

int InsertString( int nIndex, LPCSTR lpcsz )

Parameters

nIndex
lpcsz

Return

Examples

EX1

#include <..\OriginLab\DialogEx.h>
 
#define IDC_COMBO1  1001
void ComboBox_InsertString_ex1(Dialog& MyDlg)
{  
	ComboBox  m_cmbBox = MyDlg.GetItem(IDC_COMBO1);	
	int nInsert = m_cmbBox.InsertString(0, "try");
}

Remark

See Also

Header to Include

Control.h