2.2.6.19.7 ListBox::GetItemData

Description

Syntax

DWORD GetItemData( int nIndex )const

Parameters

nIndex

Return

Examples

EX1

#include <..\OriginLab\DialogEx.h>   // Dialog class
#define IDC_LIST1 1001

void ListBox_GetItemData(Dialog& MyDlg)
{
	ListBox  m_List = MyDlg.GetItem(IDC_LIST1);
	DWORD dData = m_List.GetItemData(0);
}

Remark

See Also

Header to Include

Control.h