c++ combo box: how to retrieve value selected in a combo box
-
Hi Gurus, I used two combo boxes in a dialogue, it seems that the two combo boxes interference each other. When I tried to retrieve the value from one combo box, I got value from the other Combo box selection. The response to SelectChange to other Combo box. How to make sure retrieve the correct value from the Combo box A, prevent from interference from Combo Box B. What is the code to call to retrieve the value from a Comb Box selection? Thank you
-
Hi Gurus, I used two combo boxes in a dialogue, it seems that the two combo boxes interference each other. When I tried to retrieve the value from one combo box, I got value from the other Combo box selection. The response to SelectChange to other Combo box. How to make sure retrieve the correct value from the Combo box A, prevent from interference from Combo Box B. What is the code to call to retrieve the value from a Comb Box selection? Thank you
According to MSDN, CBN_SELCHANGE gives combo box ID in wParam. I think you can use this id to distinguish between combo boxes.
-
Hi Gurus, I used two combo boxes in a dialogue, it seems that the two combo boxes interference each other. When I tried to retrieve the value from one combo box, I got value from the other Combo box selection. The response to SelectChange to other Combo box. How to make sure retrieve the correct value from the Combo box A, prevent from interference from Combo Box B. What is the code to call to retrieve the value from a Comb Box selection? Thank you