Solved

Combo box into CDialog

Posted on 1998-10-15
9
275 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Expand macro to include alternate header placement and naming 5 75
deburging in oracle form 12 104
fizzArray  challenge 1 95
wordappend challenge 8 200
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 (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.

809 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