WTL ComboBox
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi all, I have a simple dialog class that has a combo box, and a few edit ctrls, i connect them to CEdit and CComboBox classes etc. and i have my dialog catch the combobox events by
COMMAND_ID_HANDLER(IDC_COMBO, OnCombo)
and in OnCombo, depending on what they select i fill in the other edit ctrls with values, and i want to set the combobox ctrl text to a different value then what was selected by the user. but whenever i try this, just by CComboBox.SetWindowText("blah") it never works, all the other editctrls change to what i set them, but not the combobox. any ideas anyone ? thanks luke.