This member function retrieves the application-supplied 32-bit value associated with the specified combo-box item. The 32-bit value can be set with the dwItemData parameter of a SetItemData member function call. Use the GetItemDataPtr member function if the 32-bit value to be retrieved is a pointer (void*).
DWORD GetItemData( int nIndex ) const;
| Header File | Afxwin.h | 
| Platforms | |
| Versions | 1.0 and later | 
| Complete documentation | Visual C++ documentation | 
CComboBox Overview, CComboBox Member Functions, Control Classes, CComboBox::SetItemData, CComboBox::GetItemDataPtr, CComboBox::SetItemDataPtr