size of window decorations
Claus Dreischer
claus at dreischer.de
Thu Jan 6 11:10:04 EST 2011
Hi Klaus (the Great :-),
this does help indeed, but (there is always a but, right?)
where do i check which window style is used?
Here on WinXP i use the classic style because the windows are a bit
smaller, not the Windows XP style.
Any idea where i can look that up?
Regards,
Claus.
Am 06.01.11 15:47, schrieb Klaus on-rev:
> Hi Claus,
>
>> Hello,
>>
>> is there a way to determine the size of the window decorations (the
>> stuff the OS is painting around my stack)?
>>
>> I would like to move my stack into the upper left corner, but without
>> the knowledge of the real height of the whole window (stack + window
>> decorations), i don't know how much i should add to the height of this
>> stack.
>>
>> This also depends on the window style (classic 2000, XP, Vista, etc).
>>
>> Is there a way?
>
> I found this old text file on my hd, no idea who was the author or
> if this still applies today:
>
> ##################################################
> The following is best viewed in a monospaced font:
>
> OS Platform SystemVersion Title Bar LeftSide RightSide Bottom
>
> Windows 95 Win32 4.0 24 4 4 4
> Windows 98 Win32 4.10 24 4 4 4
> Windows XP Win32 NT 5.1 30 4 4 4
> Mac OS 9 MacOS 9.2.2 22 6 7 6
> Mac OS X MacOS 10.2.6 22 1 1 1
>
> I'm hoping that these figures enable the developer to use the default
> WindowBoundingRect to set a new, more restrictive WindowBoundingRect
> to ensure a stack window just fills the available screen space.
> #################################################
>
> Hope that helps!
>
>> Regards,
>> Claus.
>
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> klaus at major.on-rev.com
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list