XLL+ Class Library (6.3)

CXlControlListBox::GetItemData

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

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