SpQueryLboxSelectedItem

Returns the index of the selected item in the List Box (for single selection only).

Syntax: item = spQueryLboxSelectedItem ( hwndLbox )

Parameter: hwndLbox – List box handle.

Returns: Index of the selected item in the list box.