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.
CListBox::GetItemData
CListBox                                    Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  DWORD GetItemData( int nIndex ) const;
 
  Parameter   Description
 
  <nIndex>    Specifies the zero-based index of the item in the list box.
 
  Remarks
 
  Retrieves the application-supplied 32-bit value associated with the
  specified list-box item.
 
  The 32-bit value was the <lpItem> parameter of a SetItemData call.
 
  Return Value
 
  The 32-bit value associated with the item, or LB_ERR if an error
  occurs.
 
  See Also
 
  CListBox::AddString, CListBox::InsertString,
  CListBox::SetItemData, LB_GETITEMDATA
 
 
                                     -♦-