共用方式為


CVSListBox::GetItemData

Retrieves an application-specific 32-bit value that is associated with an editable list control item.

virtual DWORD_PTR GetItemData(
   int iIndex 
) const;

Parameters

  • [in] iIndex
    The zero-based index of an editable list control item.

Return Value

The 32-bit value that is associated with the specified item.

Remarks

Use the CVSListBox::SetItemData or CVSListBox::AddItem method to associate the 32-bit value with the list control item. This value can be an application-specific integer or a pointer to other data.

Requirements

Header: afxvslistbox.h

See Also

Reference

CVSListBox Class

Hierarchy Chart