MFC Combobox doesn't work?!
This kind of junk just makes me want to do all sorts of illegal activity in the general direction of microsoft!
I started up a simple MFC project, dropped a combobox onto the form, brought up properties, put in about 10 numbers into the "data" part, and when I run the program, there is nothing in the combobox. What the heck?
This may not be your problem, but I had problems getting combo boxes working, the solution turned out to be that the listbox window size wasn''t set properly. In the resource editor click the right side of the combo box (with the down arrow) and resize the window. Save and test it out.
If not then it might be something incorrectly configured with DDE (dynamic data exchange). Unfortunately my knowledge doesn''t carry me far in this territory, perhaps someone else knows.
Ta.
I guess this is where most people put a famous quote...
"Everything is funnier with monkey''s" - Unknown
If not then it might be something incorrectly configured with DDE (dynamic data exchange). Unfortunately my knowledge doesn''t carry me far in this territory, perhaps someone else knows.
Ta.
I guess this is where most people put a famous quote...
"Everything is funnier with monkey''s" - Unknown
--------------------------I guess this is where most people put a famous quote..."Everything is funnier with monkey''s" - Unknown
Man, I feel your pain. There are about 9 different combinations for combo boxes out there, and if the setting aren''t just right it won''t work. You''ll have to play around with the CB syles in the resource editor.
I have a working one set as a drop list with no owner draw. I add all of the choices manually with CB_ADDSTRING. Pay attention to your casts if you do it this way.
Man, I think I had more trouble getting combo boxes to work than I did with my whole 3D engine.
-BacksideSnap-
I have a working one set as a drop list with no owner draw. I add all of the choices manually with CB_ADDSTRING. Pay attention to your casts if you do it this way.
Man, I think I had more trouble getting combo boxes to work than I did with my whole 3D engine.
-BacksideSnap-
September 20, 2000 02:58 PM
MFC kicks some serious ass for utilities and editors. It sounds like you didn''t set the size for the dropdown portion of the combo box. Click on the combo arrow in the resource file (notice the squares change) and then drag the lower square down to show how big the combo should be.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement