XLL+ Class Library

CXlControlListBox::GetItemData

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

[C++]
DWORD GetItemData(
   int nIndex
) const;

Parameters

nIndex

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

Return value

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

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.

Requirements

Header: xldialog.h

See Also

CXlControlListBox Class | CXlControlListBox Methods