Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / December 2004

Tip: Looking for answers? Try searching our database.

help with simple combobox problem in Visual C++

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dt - 24 Dec 2004 02:21 GMT
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!
David Lowndes - 24 Dec 2004 09:34 GMT
>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
Signature

MVP VC++ FAQ: http://www.mvps.org/vcfaq

dt - 24 Dec 2004 19:01 GMT
Thanks! that solved it

> >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,
[quoted text clipped - 7 lines]
>
> Dave

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.