Solved

Combo box into CDialog

Posted on 1998-10-15
9
268 Views
Last Modified: 2013-11-20
I've a dialog class derived from a CDialog with class wizard by specifying the IDD dialog resource. I've created a combo box using resource tools. When I run the application and I click on combo box it doesn't shows the list content (it's too little to see), I must use arrows to move throught content. Is it a bug?
0
Comment
Question by:css
9 Comments
 
LVL 1

Expert Comment

by:Bridge
ID: 1323317
When you are designing the combo in the editior click on its drop box to cause it to open. you can then resize its size.
0
 
LVL 1

Expert Comment

by:Fargo
ID: 1323318
css, that's true. You have to click on the down-arrow when designing the dialog in the Resource Editor. Then you'll see the initial size of the drop-down listbox part of the combo. Then you can resize it - it's really pretty small. Unfortunately this behaviour of the ResEdit is sort of hidden. It took me about 2 hours some time ago to discover this :(
0
 
LVL 1

Expert Comment

by:Grailman
ID: 1323319
If you mean that when you run the app it does not initially display, use SetCurSel() to set the selection.
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 1

Expert Comment

by:arunprakash
ID: 1323320
Hi,
While designing the combobox
1. Click at the combo button on the ToolBox,
2. Dont just click at the dialog instead drag right and then down till ur desired height is achieved.

im not kidding this will work,
bye ,
Arun
 
0
 
LVL 1

Expert Comment

by:Grailman
ID: 1323321
arunprakash:
Isn't that what Fargo basically said?
0
 
LVL 1

Expert Comment

by:Bridge
ID: 1323322
isnt that what I originally said ???
0
 
LVL 1

Expert Comment

by:Grailman
ID: 1323323
True as well!!
0
 

Author Comment

by:css
ID: 1323324
I would like to give points to Bridge...

If you're Bridge, just send "hi"

0
 
LVL 1

Accepted Solution

by:
Bridge earned 100 total points
ID: 1323325
hi ho silver, away . . . .
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

785 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