Article View: borland.public.cppbuilder.nativeapi
Article #14506Re: How to resize a control when run-time
From: Bruce Larrabee
Date: Sat, 09 Aug 2003 07:01
Date: Sat, 09 Aug 2003 07:01
15 lines
1444 bytes
1444 bytes
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:
<3F349C57.7090200@lycos.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f345db9@newsgroups.borland.com> <3f347c37@newsgroups.borland.com> <3f348464@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 00:09:27 PST Message-ID: <3F349C57.7090200@lycos.com> Date: Sat, 09 Aug 2003 00:01:43 -0700 From: Bruce Larrabee <zorwizard@lycos.com> User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: How to resize a control when run-time References: <3f345db9@newsgroups.borland.com> <3f347c37@newsgroups.borland.com> <3f348464@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 66.178.140.106 X-Trace: newsgroups.borland.com 1060412462 66.178.140.106 (9 Aug 2003 00:01:02 -0700) Lines: 16 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail