[Lazarus] Form Height with Windows XP Themes

Faber faber.cpu at gmail.com
Thu Apr 8 13:34:03 CEST 2010


Dnia 2010-04-08, o godz. 00:28:00
Zaher Dirkey <parmaja at gmail.com> napisaƂ(a):

> Use GetWindowRect to get the window size from out
> Use GetClientRect to get the inner rect that can draw in it.
> the deffrent between the 2 of rect is depend on the theme you are use,
> But you must notice the ClientRect is always has Left, Top = 0; so
> try to offset the WindowRect to 0, 0

Thanks, GetWindowRect works as I need.


regards
faber




More information about the Lazarus mailing list