index = WinXComboBox_GetSelection (hCombo)
Gets the index of the currently selected item in the combo box.
Parameter | Description |
---|---|
hCombo | The handle to the combo box to get the selection for |
The o based index of the item which is currently selected, or $$CB_ERR if there are no items selected.
none
'print the index of the currently selected item PRINT WinXComboBox_GetSelection (hCombo) |
WinXAddComboBox
WinXComboBox_SetSelection
WinXComboBox_GetEditText$