[Lazarus] Form Height with Windows XP Themes
Mattias Gärtner
nc-gaertnma at netcologne.de
Thu Apr 8 15:26:20 CEST 2010
Zitat von Hans-Peter Diettrich <DrDiettrich1 at aol.com>:
> Paul Ishenin schrieb:
>
>>> AFAIR the LCL doesn't handle the non-client areas of controls. I.e.
>>> Height and ClientHeight (typically) are identical.
>>
>> Yes. Only GetWindowRect can return a full window rectangle.
>
> Why is this function not used to provide the correct sizes?
I added some notes to the FAQ:
http://wiki.lazarus.freepascal.org/Autosize_/_Layout#Why_is_TForm.Width_equal_to_TForm.ClientWidth.3F
Mattias
More information about the Lazarus
mailing list