Nochmal ComboBox
-
Also nochmal:
Wie ermittle ich den Index des ausgewählten Eintrages in einer ComboBox?
-
Hallo !
Warum drückst du nicht F1 ?
CComboBox::GetCurSel
int GetCurSel( ) const;Return Value
The zero-based index of the currently selected item in the list box of a combo box, or CB_ERR if no item is selected.
Remarks
Call this member function to determine which item in the combo box is selected. GetCurSel returns an index into the list.
Tschüss