XLL+ Class Library (6.3)

CXlControlListBox::SetItemData

Sets a 32-bit value associated with the specified item in a list box

int SetItemData(
   int nIndex,
   DWORD dwItemData
);

Parameters

nIndex

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

dwItemData

Specifies the value to be associated with the item.

Return Value

-1 if an error occurs.

Remarks

Sets a 32-bit value associated with the specified item in a list box.

Requirements

Header: xldialog.h

See Also

CXlControlListBox Class | CXlControlListBox Methods