Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
CListBox::SetItemData
CListBox                                    Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  int SetItemData( int nIndex, DWORD dwItemData );
 
  Parameter    Description
 
  <nIndex>     Specifies the zero-based index of the item.
 
  <dwItemData> Specifies the value to be associated with the item.
 
  Remarks
 
  Sets a 32-bit value associated with the specified item in a list box.
 
  Return Value
 
  LB_ERR if an error occurs.
 
  See Also
 
  CListBox::GetItemData, LB_SETITEMDATA
 
 
                                     -♦-