DwtListBoxSelectPos(3Dwt)
Name
DwtListBoxSelectPos − Selects an item identified by its position in the list box.
Syntax
void DwtListBoxSelectPos(widget, position, notify)
Widget widget;
int position;
Boolean notify;
Arguments
widgetSpecifies the ID of the list box widget from whose list you want to select an item.
positionSpecifies an integer that identifies the position of the item to be selected in the list box.
notifySpecifies a boolean value that, when True, indicates use of this widget results in a callback to the application.
Description
The DwtListBoxSelectPos function selects an item in a list box based on its position in the list, adds it to a selected item list, and calls back to the application, if notify is True.
See Also
Guide to the XUI Toolkit: C Language Binding
Guide to the XUI Toolkit Intrinsics: C Language Binding