Combo box: Number of items viewable

Posted on 2006-05-22
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?
Question by:andhaug
    LVL 8

    Accepted Solution

    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.


    Author Comment

    Wow.. That simple.. I've spent hours without figuring it out.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Suggested Solutions

    Article by: SunnyDark
    This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
    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 viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
    The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now