The PlusWnd::LstBox_GetCurSel function returns the current selection in a ListBoxControl.
[number] LstBox_GetCurSel( [string] ControlId );
A number specifying the index of the item currently selected in the combo's list. If no item is selected, the return value is -1.
This function typically fails for the following reason:
If "MultipleSel" is set to true in the List Box's attributes, this function returns the index of the item that has the focus rectangle.
Object | PlusWnd |
---|---|
Availability | Messenger Plus! Live 4.00 |