[lazarus] Bug in lcl resizing code and patch for win32

Karl Brandt pascalive at bol.com.br
Sat Jun 28 00:07:26 EDT 2003


Sometime ago i sent a patch fixing the forms sizes under win32 and got 
surprised to see that things were messed.
So i  did the  job again!

Attached is a patch that makes the form sizes correct.
But when we move or resize the window, strange effects occurs.
This happens because the LCL in TWinControl.InitializeWnd, sends a 
LM_SETSIZE message with the Width and Height  parameters (which the 
interface expect) while in TWinControl.RealizeBounds it sends the same 
message with the Bottom-Right coordinates.

I hope someone fix this.

BTW. During the last months, i didn't worked with lcl/win32 because of 
lack of time. Now i want to spend some time with it :-)

karl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00038.bin
Type: application/octet-stream
Size: 779 bytes
Desc: "size2diff.zip"
Url : http://localhost/pipermail/lazarus/attachments/20030628/c30489a6/bin00038.bin


More information about the Lazarus mailing list