[lazarus] Patch: form sizing

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Jun 27 17:37:23 EDT 2003


On Fri, 27 Jun 2003 20:42:36 +0200
"Micha Nelissen" <mdvpost at hotmail.com> wrote:

> Hi,
> 
> Attached is a patch to fix form resizing. It disables the code to send
> WM_SIZE messages on WM_POSCHANGED messages. This had nasty side effect
> because the GetClientRect was not always in agreement with
> AdjustWindowRect, its counterpart, because one thought the menu was there
> and the other didn't. It caused looping and making the form very wide or
> very small.

ok

 
> If you of reasons why it should send that message, let me know.

Hmm. Maybe some components expects the message. We will see.


Mattias






More information about the Lazarus mailing list