|
-
April 7th, 1999, 06:11 PM
#1
problems with CComboBox
Can anybody please help me with this? I've got a dialog containing 2 combo boxes. I can fill those boxes in without a problem (using AddString in the InitDialog function), but when I run the application, the ListBox portion of the combo box never shows when I push the down arrow. Instead, I get a thick, black line under the text box. What have I done wrong? I've got nothing in the code except for AddItem calls to populate the combobox. Thanks in advance.
-
April 7th, 1999, 06:45 PM
#2
Re: problems with CComboBox
Check your Dialog template settings for the Drop-Down's
width of the combobox in your RC file.
:-)
Modesty Zhang
================================
-
April 20th, 1999, 03:40 PM
#3
Re: problems with CComboBox
I have a simmilar problem, however I only see a single entry in the listbox portion of the combobox. I don't think its the 'width' of the control that is the problem. In my case it seem to be the height of the drop down list. It there a way to expand the height of the drop down list of the CComboBox?
-
April 20th, 1999, 04:00 PM
#4
Re: problems with CComboBox
Yes. In the dialog editor, click on the ComboBox to select it. Now, hover over the down arrow so that the mouse cursor changes to a double headed arrow. Click there and a subtle change should take place--the boxes on each side of the ComboBox change. Along the bottom, the box should be filled and all the rest should be hollow. Drag the bottom down. That's the dropdown list height. Wherever you drag it to, that's how far down the list box will drop.
Chris R. Wheeler, MCP
Pensacola Christian College
Desktop Programmer
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|