CListBox::GetItemData

DWORD GetItemData( int nIndex ) const;

Return Value

The 32-bit value associated with the item, or LB_ERR if an error occurs.

Parameters

nIndex

Specifies the zero-based index of the item in the list box.

Remarks

Retrieves the application-supplied doubleword value associated with the specified list-box item.

The doubleword value was the dwItemData parameter of a SetItemData call.

CListBox OverviewClass MembersHierarchy Chart

See Also   CListBox::AddString, CListBox::GetItemDataPtr, CListBox::SetItemDataPtr, CListBox::InsertString, CListBox::SetItemData, LB_GETITEMDATA