[lazarus] Patch: form sizing

Micha Nelissen mdvpost at hotmail.com
Fri Jun 27 14:16:20 EDT 2003


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.

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

Regards,

Micha.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00037.bin
Type: application/octet-stream
Size: 710 bytes
Desc: "formsize.patch"
Url : http://localhost/pipermail/lazarus/attachments/20030627/27a9021d/bin00037.bin


More information about the Lazarus mailing list