Share via


CVSListBox::SetItemData

Associates an application-specific 32-bit value with an editable list control item.

virtual void SetItemData(
   int iIndex,
   DWORD_PTR dwData 
);

Parameters

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

  • [in] dwData
    A 32-bit value. 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

CVSListBox::GetItemData