Solved

Combo box into CDialog

Posted on 1998-10-15
9
289 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

688 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