Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CComboBox::SetItemData
CComboBox                                   Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  int SetItemData( int nIndex, DWORD dwItemData );
 
  Parameter    Description
 
  <nIndex>     Contains a zero-based index to the item to set.
 
  <dwItemData> Contains the new value to associate with the item.
 
  Remarks
 
  Sets the 32-bit value associated with the specified item in a combo
  box.
 
  Return Value
 
  CB_ERR if an error occurs.
 
  See Also
 
  CComboBox::GetItemData, CB_SETITEMDATA, CComboBox::AddString,
  CComboBox::InsertString
 
 
                                     -♦-