CComboBox
C / C++ / MFC
3
Posts
2
Posters
0
Views
1
Watching
-
how do i get the text from a combobox ? i.e. not in drop down list / what the user types in (and it is not m_combo.GetLBText(-1, strTemp); :-D )
-
how do i get the text from a combobox ? i.e. not in drop down list / what the user types in (and it is not m_combo.GetLBText(-1, strTemp); :-D )
go to Class Wizard and associate the control with category of Value and of Type CString, then through the DDX, you can:
UpdateData();
m_strCombo1; // or whatever you called it - will have the user's typed text