Article View: borland.public.cppbuilder.nativeapi
Article #4722Re: find out when a window is changing its pos or size
From: Sam S. Firouz
Date: Wed, 14 Dec 2005 18:04
Date: Wed, 14 Dec 2005 18:04
22 lines
1739 bytes
1739 bytes
to detect change of window pos you have to trap WM_MOVE message. for size you can use the unresize event. for minimize you have to use the Application's OnMinimize and OnRestore event. sam "Jeff Kish" <jeff.kish@mro.com> wrote in message news:86d0q1puc7faipt9t10s9d4dd1vot4vfki@4ax.com... >I need to know if it is possible to have windows tell me (register my > interest somehow) in when a window is changing its size or pos, being > min or maxed. > > Is there an api call or something I can do from within a dll? I'm > trying to figure out a way to keep a form filling up exactly the space > in an arbitrary window selected by the calling non borland > application. > > thanks > Jeff Kish
Technical Details
Message-ID:
<43a05eac@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<86d0q1puc7faipt9t10s9d4dd1vot4vfki@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e334b2c316ca4f3b X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Sam S. Firouz" <sfirouz@Hotmail.com> From: "Sam S. Firouz" <sfirouz@Hotmail.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <86d0q1puc7faipt9t10s9d4dd1vot4vfki@4ax.com> Subject: Re: find out when a window is changing its pos or size Date: Wed, 14 Dec 2005 13:04:51 -0500 Lines: 24 Organization: F. C. C. X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 132.250.186.165 Message-ID: <43a05eac@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1134583468 132.250.186.165 (14 Dec 2005 10:04:28 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail