DwtListBoxItemExists(3Dwt)
Name
DwtListBoxItemExists − Verifies the existence of a particular item in a list box.
Syntax
int DwtListBoxItemExists(widget, item)
Widget widget;
DwtCompString item;
Arguments
widgetSpecifies the ID of the list box widget from whose list you want to verify the existence of a specified item.
itemSpecifies the item in the list box that is being searched for.
Description
The DwtListBoxItemExists function searches through a list box to determine if an item exists. If the specified item is found, DwtListBoxItemExists returns an integer that gives the position of the item in the list box. If the item is not found, DwtListBoxItemExists returns a zero.
See Also
Guide to the XUI Toolkit: C Language Binding
Guide to the XUI Toolkit Intrinsics: C Language Binding