Solved

Combo box into CDialog

Posted on 1998-10-15
9
281 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
Technology Partners: 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 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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

733 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