CComboBox::SetItemData

This member function sets the 32-bit value associated with the specified item in a combo box. Use the SetItemDataPtr member function if the 32-bit item is to be a pointer.

Syntax

int SetItemData( int nIndex, DWORD dwItemData );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CComboBox Overview, CComboBox Member Functions, Control Classes, CComboBox::GetItemData, CComboBox::GetItemDataPtr, CComboBox::SetItemDataPtr, CComboBox::AddString, CComboBox::InsertString