size of window decorations
Richard Gaskin
ambassador at fourthworld.com
Thu Jan 6 12:46:52 EST 2011
Claus Dreischer wrote:
> thanks for that snippet, but it returns 1 here, which is not like in
> Klaus' table, or i completely misunderstood you.
>
> But you gave me a pointer: I think i can frickel something when i use
> this key too to get the height of the decorations:
>
> HKEY_CURRENT_USER\Control Panel\desktop\WindowMetrics\CaptionHeight
>
> At least it changes from -375/15 (XP Style) to -270/15 (Classic Style) ...
Yep, those are the values you should use. In my haste to paste that
code I didn't clean out the rest of the irrelevant stuff.
--
Richard Gaskin
Fourth World
LiveCode training and consulting: http://www.fourthworld.com
Webzine for LiveCode developers: http://www.LiveCodeJournal.com
LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
More information about the use-livecode
mailing list