By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,507 Members | 1,183 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,507 IT Pros & Developers. It's quick & easy.

help with simple combobox problem in Visual C++

P: n/a
dt
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!
Nov 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
>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
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
Nov 17 '05 #2

P: n/a
dt
Thanks! that solved it

"David Lowndes" wrote:
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
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq

Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.