ComboBox.getSelectedIndex

Return the selected item's index, or -1 (CB_ERR) if none is selected.

class ComboBox
int
getSelectedIndex
()

Meta