Board index » Visual Studio » CComboBox

CComboBox

Visual Studio362
My combobox shows only one item at the time in it's listbox view (when arrow

is clicked). How can I force it to show i.e. 10 items at a time?



Thank you.


-
 

Re:CComboBox

You can adjust this size in Visual Studio's resource editor.



"Miki Peric" <blah@ccc.com>wrote in message

Quote


My combobox shows only one item at the time in it's listbox view (when

arrow

is clicked). How can I force it to show i.e. 10 items at a time?



Thank you.









-

Re:CComboBox



How? I'm using VC6. I've right clicked on CComboBox and chosen

"Properties", but couldn't find appropriate property. I'd like to set number

of items visible at the same time in CComboBox's list of items.





-

Re:CComboBox

While in the resource editor, click on the down arros part of the ComboBox.

It should drop down and then you can resize it.



--



Hank Williams

Quantum Technologies, Inc.

HaWilliams(at)spamcop.net



"Miki Peric" <blah@ccc.com>wrote in message

Quote


How? I'm using VC6. I've right clicked on CComboBox and chosen

"Properties", but couldn't find appropriate property. I'd like to set

number

of items visible at the same time in CComboBox's list of items.









-

Re:CComboBox

In the resource editor, click on the combobox down arrow icon, drag the

middle handle downwards.



"Miki Peric" <blah@ccc.com>wrote in message

Quote


How? I'm using VC6. I've right clicked on CComboBox and chosen

"Properties", but couldn't find appropriate property. I'd like to set

number

of items visible at the same time in CComboBox's list of items.









-

Re:CComboBox



Thank you, guys. :)





-

Re:CComboBox

Miki Peric wrote:



Quote
How? I'm using VC6. I've right clicked on CComboBox and chosen

"Properties", but couldn't find appropriate property. I'd like to set number

of items visible at the same time in CComboBox's list of items.







"How" is very un-obvious :(



Click on the combo box drop arrow in the resource editor. This produces

a drag rectangle. Then drag the bottom of the combo box down to about

the max drop size you would like. Then click drop arrow again.



--

Scott McPhillips [VC++ MVP]



-