[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Combo box into CDialog

Posted on 1998-10-15
9
Medium Priority
?
302 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 200 total points
ID: 1323325
hi ho silver, away . . . .
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses
Course of the Month19 days, 16 hours left to enroll

872 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