The PlusWnd::LstBox_AddItem function adds an item in a ListBoxControl.
[number] LstBox_AddItem(
[string] ControlId,
[string] Label,
[number, optional] ItemData
);
If the new item is added successfully, the return value is the index of the new item in the list. If not, the return value is -1.
This function typically fails for the following reason:
None.
| Object | PlusWnd |
|---|---|
| Availability | Messenger Plus! Live 4.00 |