Graphisoft®

Dialog ManagerVersion: 2.0

ListBox::GetItemValue

Retrieves the user-defined long value associated with a list box item.

long GetItemValue (short listItem) const;

Parameters

listItem
1-based index of the list box item, use TopItem or BottomItem of Item type to specify the first or last item of the list box control.

Return Value

The user-defined long value associated with the specified list item. If the function parameters are incorrect or the specified list item is a separator, zero is returned.