Article View: borland.public.cppbuilder.nativeapi
Article #14508Re: How to resize a control when run-time
From: Sky
Date: Sat, 09 Aug 2003 07:13
Date: Sat, 09 Aug 2003 07:13
22 lines
1562 bytes
1562 bytes
I have seen a way a long time ago, it just like in design-time, but I forget it, it only need set some properties, Windows will do the remainder things. "Bruce Larrabee" <zorwizard@lycos.com> ??????:3F349C57.7090200@lycos.com... > Sky, > > Use the MouseMove event on the surface you are using. > > Like: > > void __fastcall TForm::DrawSurfaceMouseMove(TObject *Sender, > TShiftState Shift, int X, int Y) > > Then use these X & Y values to add to or subtract from the relevant > values that Rodolfo showed above... > > Laters, > > Bruce Larrabee >
Technical Details
Message-ID:
<3f349fdc$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3f345db9@newsgroups.borland.com> <3f347c37@newsgroups.borland.com> <3f348464@newsgroups.borland.com> <3F349C57.7090200@lycos.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 00:26:29 PST From: "Sky" <HuangC@motic.com.cn> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f345db9@newsgroups.borland.com> <3f347c37@newsgroups.borland.com> <3f348464@newsgroups.borland.com> <3F349C57.7090200@lycos.com> Subject: Re: How to resize a control when run-time Date: Sat, 9 Aug 2003 15:13:41 +0800 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 210.14.178.251 Message-ID: <3f349fdc$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1060413404 210.14.178.251 (9 Aug 2003 00:16:44 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail