[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Combo box: Number of items viewable

Posted on 2006-05-22
2
Medium Priority
?
215 Views
Last Modified: 2010-04-01
I'm using eMbedded Visual C++ to make an application for  Pocket PCs.
I have added a combobox to a dialog and it contains over 100 selectable items. The problem is that whenever the user "drop down" the combobox it is only displayed two items.
I want the dropdown-menu to have as many viewable items as possible (maybe ten). How can I set the size of the dropdown-menu so that it displays more items?
0
Comment
Question by:andhaug
2 Comments
 
LVL 8

Accepted Solution

by:
thoffman earned 1000 total points
ID: 16732568
In Visual Studio 2005, you go into the resource editor. Then, click on the arrow for the combo box. When you do that, you'll be able to see the size of the box as it will be when the user drops it down. Then, you can re-size it. Clicking the arrow again toggles back to show the size when closed.

If you're using something besides Visual Studio 2005, it should be similar.

--
Troy
0
 

Author Comment

by:andhaug
ID: 16732857
Wow.. That simple.. I've spent hours without figuring it out.
Thanks
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question