Article View: borland.public.cppbuilder.nativeapi
Article #14525Re: How to resize a control when run-time
From: Rodolfo Frino
Date: Sun, 10 Aug 2003 03:41
Date: Sun, 10 Aug 2003 03:41
53 lines
3690 bytes
3690 bytes
> The differences are subtle, for example the behaviour for
> 0xF007 and 0xF008 differs in the minimum size of the control
> along the axes.
Correction, this is not right. This is the table with the differences
between the
parameters:
Windows Message: WM_SYSCOMMAND (Msg)
-----------------------------------------------------------
WParam (Perform)
wParam (SendMessage) Adjustment/Behaviour
-----------------------------------------------------------
0xF009 Control Position adjustment
Top and Bottom and/or Left and Right can change
-----------------------------------------------------------
0xF008 Control Width and Height adjustment
Top Left coordinate of the control will not change.
Control can go to a minimum size (2 pixels x 2 pixels)
-----------------------------------------------------------
0xF007 Control Width and Height adjustment
Top Right coordinate of the control will not change.
Control can go to a minimum size (2 pixels x 2 pixels)
-----------------------------------------------------------
0xF006 Control Height adjustment
Top coordinate of the control will not change
Height can go to the minimum. (2 pixels)
-----------------------------------------------------------
0xF005 Control Size adjustment
Botom Left coordinate of the control will not
change.
Widh and Height can go to the minimum. (2 pixels)
-----------------------------------------------------------
0xF004 Control Size adjustment
Botom Right coordinate of the control will
not change.
Widh and Height can go to the minimum. (2 pixels)
-----------------------------------------------------------
0xF003 Control Height adjustment
Botom coordinate of the control will not change
Height can go to the minimum. (2 pixels)
-----------------------------------------------------------
0xF002 Control Width adjustment
The Left position of the control will not change.
Widh can go to the minimum. (2 pixels)
-----------------------------------------------------------
0xF001 Control Width adjustment
The Right position of the control will not change.
Widh can go to the minimum. (2 pixels)
-----------------------------------------------------------
Rodolfo
Technical Details
Message-ID:
<3f35bee0@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!205.215.62.125.MISMATCH!in.100proofnews.com!in.100proofnews.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3f345db9@newsgroups.borland.com> <3f35b738@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,61501f292d40a59 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-08-09 20:46:18 PST From: "Rodolfo Frino" <rodolfofrino@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f345db9@newsgroups.borland.com> <3f35b738@newsgroups.borland.com> Subject: Re: How to resize a control when run-time Date: Sun, 10 Aug 2003 13:41:35 +1000 Lines: 56 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 203.206.24.138 Message-ID: <3f35bee0@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1060486880 203.206.24.138 (9 Aug 2003 20:41:20 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!216.170.153.135.MISMATCH!tdsnet-transit!newspeer.tds.net!205.215.62.125.MISMATCH!in.100proofnews.com!in.100proofnews.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail