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.
int SetItemData( int nIndex, DWORD dwItemData );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CComboBox Overview, CComboBox Member Functions, Control Classes, CComboBox::GetItemData, CComboBox::GetItemDataPtr, CComboBox::SetItemDataPtr, CComboBox::AddString, CComboBox::InsertString