Ok, big question. I am using an MFC class CComboBox, which resembles a basic ComboBox control. It works fine, but when I try to show that dropdown list thing, it's only 1 pixel wide. I've tried everything, and it's no use.
P.S. I think the problem might be with the resource(I use VC 6.0), because when I click on that test button in the resource editor, the dialog shows up, and the combo box has the same problem, the list is only 1 pixel wide.
ComboBox
Started by Anonymous Poster_Anonymous Poster_*, Aug 19 1999 12:23 PM
2 replies to this topic
Sponsor:
#2 Members - Reputation: 739
Posted 19 August 1999 - 07:36 AM
How big is your combo box drawn on your resource editor?
Unless you've hit one of the more obscure checkboxes on its properties, it should show up the size you drew it.
I am of course making the assumption here that you are using the resource editor... some people don't.
Unless you've hit one of the more obscure checkboxes on its properties, it should show up the size you drew it.
I am of course making the assumption here that you are using the resource editor... some people don't.
-fel
~ For great info on MFC including great sample code, visit http://www.codeguru.com ~
#3 Members - Reputation: 586
Posted 19 August 1999 - 12:23 PM
A common problem is having a combo box in which the dropdown list is only one pixel high. In the resource editor select the combo box and click on it's little dropdown button (the arrow on the right side). This will allow you to size the actual dropdown list instead of the combo box. I know you said wide, but this is the only thing I could think of.






