Tom
--
Thomas W. Dietz tdi...@glis.net
Chicagoland, IL USA FAX: 630-539-7709
http://www.pr.ais.net/tdietz
--
Yury Kosov
CoreTek, Inc
yu...@msn.com
http://www.coretek.com
Thomas Dietz <tdi...@glis.net> wrote in article
<54693a$a...@hyperion.tp.ac>...
>Does anyone know how to set the drop down listbox size of a combo-box? By
>default it is the height of one row. I can't seem to find any options in
>the resource editor or in the CComboBox class member list.
>
>Tom
>
Tom,
If you click on a drop-down arrow of a cobmo-box in a resource editor,
you will be able to resize it.
Vagif Abilov
va...@sn.no
Object Factory
Oslo Norway
Beer is *never* optional...
--
Cecil Galbraith
cgal...@concentric.net
CustomSoft
Download free programmers utilities at
http://www.concentric.net/~cgalbrai/
In the resource editor, just click on the down arrow of the combo-box.
A frame appears, which you can then drag to the desired size.
If you want to resize in code, use MoveWindow, which will resize the
drop-down portion, not just the edit box. (The size of the edit box
depends on the font it's using).
katy
Rich or Katy Mulvey
mul...@frontiernet.net
>In the resource editor, just click on the down arrow of the combo-box.
>A frame appears, which you can then drag to the desired size.
I have tried that. No matter what size I save it as, it always changes it to
the height of one row (even if there are 10 rows).
>Does anyone know how to set the drop down listbox size of a combo-box? By
>default it is the height of one row. I can't seem to find any options in
>the resource editor or in the CComboBox class member list.
>Tom
>--
>Thomas W. Dietz tdi...@glis.net
>Chicagoland, IL USA FAX: 630-539-7709
>http://www.pr.ais.net/tdietz
Try clicking on the combo box image in your resource editor. That
should make the combo expand downwards. This expansion is how to set
the dropdown length. I don't know how to do this dynamically during
run time.
Dave
You are not, by any change, experiencing this under Win32s? I had
the same kind of problems, and had to resort to get the dropped
control rect (CB_GETDROPPEDCONTROLRECT) from the combo and then
MoveWindow()ing to that size in OnInitDialog().
-zi
>Does anyone know how to set the drop down listbox size of a combo-box? By
>default it is the height of one row. I can't seem to find any options in
>the resource editor or in the CComboBox class member list.
>Tom
In the resource editor, left-clicking on the text portion of the drop
down list box will only let you resize the closed state of the list
box. To resize the "open" state of the list box, left-click on the
pull down box on the right side of the text box. You will get a
different set of sizing handles.
Fernando
In
article <54huib$n...@newsfeed.icl.fi>, pazi (pa...@to.icl.fi) writes:
>tdi...@glis.net wrote:
>>Kit Enscoe <ens...@norwich.net> wrote:
>>>Thomas Dietz wrote:
>>>> Does anyone know how to set the drop down listbox size of a combo-box?
>>>In the resource editor, just click on the down arrow of the combo-box.
>>>A frame appears, which you can then drag to the desired size.
>>
>>I have tried that. No matter what size I save it as, it always changes it to
>>the height of one row (even if there are 10 rows).
>
> You are not, by any change, experiencing this under Win32s? I had
> the same kind of problems, and had to resort to get the dropped
> control rect (CB_GETDROPPEDCONTROLRECT) from the combo and then
> MoveWindow()ing to that size in OnInitDialog().
>
>-zi
>
>
---
Herman R. Willett
Information Systems Technology Specialist
hrwillet@dynasoft_.win.net
http://www.win.net/~dynasoft_
Herman -- KA5NHE -- Beaumont, Tx
Dynamic Software Systems - Generating Software since 1976
Over 20 years a cyber punk and loving every second of it
for...@access.digex.net wrote in article <54pf2v$q...@news4.digex.net>...
> tdi...@glis.net (Thomas Dietz) wrote:
>
> >Does anyone know how to set the drop down listbox size of a combo-box?