2.2.6.6.7 ComboBox::GetCount

Description

Syntax

int GetCount( )const

Parameters

Return

Examples

EX1

#include <..\OriginLab\DialogEx.h>
 
#define IDC_COMBO1  1001
void ComboBox_GetCount_ex1(Dialog& MyDlg)
{
	ComboBox  m_cmbBox = MyDlg.GetItem(IDC_COMBO1);
	int nCount = m_cmbBox.GetCount();
}

Remark

See Also

Header to Include

Control.h