[lazarus] Size issues in win32

Karl Brandt pascalive at bol.com.br
Wed Aug 20 20:11:44 EDT 2003

Here's a patch that calculates menu height and fix GetWindowSize for 
Also fix GetRelativePos when parent is TGroupBox.

I must warn that this patch doesn't fixes the problems introduced after 
the recent changes and that were reported by Micha.

Mattias, please take a closer look at LM_SETSIZE. The previous 
implementation does the same as the current with a cleaner/faster approach:

if we assume that
NewRect.Right - NewRect.Left =
NewRect.Left+(R.Right-R.Left) - NewRect.Left =
R.Right-R.Left -> the previous value



-------------- next part --------------
A non-text attachment was scrubbed...
Name: zip00031.zip
Type: application/octet-stream
Size: 1426 bytes
Desc: "size.zip"
Url : http://localhost/pipermail/lazarus/attachments/20030820/214db5f7/zip00031.obj

More information about the Lazarus mailing list