DwtListBoxAddItem(3Dwt) DwtListBoxAddItem(3Dwt)
Name
DwtListBoxAddItem - Adds an item to the list within a list box widget.
Syntax
void DwtListBoxAddItem(widget, item, position)
Widget widget;
DwtCompString item;
int position;
Arguments
widget Specifies the ID of the list box widget from whose list you want to add an item.
item Specifies the text of the item to be added to the list box.
position Specifies the placement of the item within the list in terms of its cell position. It uses an insert mode/cell number scheme
with a 1 specifying the topmost entry position and a 0 specifying the bottom entry for adding an item to the bottom of the list.
Description
The DwtListBoxAddItem function adds an item to a list within the list box widget.
See Also
DwtListBoxDeleteItem(3Dwt)
Guide to the XUI Toolkit: C Language Binding
Guide to the XUI Toolkit Intrinsics: C Language Binding
DwtListBoxAddItem(3Dwt)