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 kl...@major.on-rev.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode