2.2.6.6.9 ComboBox::GetItemData

Description

Syntax

DWORD GetItemData( int nIndex )const

Parameters

nIndex

Return

Examples

EX1

#include <..\OriginLab\DialogEx.h>
 
#define IDC_COMBO1  1001
void ComboBox_GetItemData_ex1(Dialog& MyDlg)
{
	ComboBox	cmbBox = MyDlg.GetItem(IDC_COMBO1);
	DWORD dData = cmbBox.GetItemData(0);
}

Remark

See Also

Header to Include

Control.h