help with simple combobox problem in Visual C++

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hello, I'm still new to win32 programming and I have a small problem. I am
making a simple application. The main GUI is a dialog box with check boxes,
radio buttons, combo boxes etc.

The problem I'm having is that I have two combo boxes (both dropdown). One
of them works fine; when you click the arrow on the right side of the box,
the list drops down. With the other combo box, when you click the arrow, it
looks like something tries to drop down but you can't see anything. You can
still select the values if you click on the whitespace and use the arrow keys
on the keyboard to scroll through the list, but the list won't drop down. I
don't understand what's wrong since the two combo boxes have the same
properties, and I have done everything the same for them in my .cpp file and
the resource script file (except that they have different IDC's define of
course). Can anyone please help me out?? if more information is required
please let me know... Thanks!
 
The problem I'm having is that I have two combo boxes (both dropdown). One
of them works fine; when you click the arrow on the right side of the box,
the list drops down. With the other combo box, when you click the arrow, it
looks like something tries to drop down but you can't see anything.

Have you sized the combo box control?

In the IDE's dialog editor click on the drop list button and resize
the control.

Dave
 
Thanks! that solved it

David Lowndes said:
Have you sized the combo box control?

In the IDE's dialog editor click on the drop list button and resize
the control.

Dave
 
Back
Top