This method sets the 32-bit value associated with the specified item in a combo box. Use the SetItemDataPtr method if the 32-bit item is to be a pointer.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
int SetItemData( int nIndex, DWORD dwItemData );
CComboBox::GetItemData, CComboBox::GetItemDataPtr, CComboBox::SetItemDataPtr, CComboBox::AddString, CComboBox::InsertString