Graham, You're not talking to yourself, but I think that most people that wanted to use up the full space of the screen have gone the route of hiding the menubar and making a "decorations empty" full-screen stack based on the screenRect. Or alternately, have opened a window with decorations to a smaller-than-screen-size window, and allow the user to maximize it, resizing it accordingly.
However, based on your table below, the only thing I'd mention is that in Windows you can change the title bar height to anything you like in the Display control panel (Appearance Tab (you'll need to click on the "Advanced" button in WinXP) and select "Active Title Bar" from the drop down menu. Your settings look like they're correct, but take note that the number of pixels for the title bar in Windows does not match the setting in the Display control panel. For example, in Win XP, the height is shown as "25" in the control panel. You should be able to query HKEY_CURRENT_USER/Control Panel/Desktop/WindowMetrics/CaptionHeight and take the value there and divide it by 15 and get the absoulte value. For example, on my PC, the default of 25 pixels is displayed as -375 in the CaptionHeight key in the Registry (abs(-375/15) = 25), and when I changed it to 35 pixels, the CaptionHeight went to -525 (abs(-525/15) = 35). You can then take that and add 5 pixels to get the "true" size (30 for the default in this case). Also, resizing the titlebar height also changes the height of the Task Bar at the bottom of the screen too... Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Graham Samuel > Sent: Sunday, September 21, 2003 12:11 PM > To: Revolution user discussion > Subject: Re: Leaving room for the title bar > > > Well, I seem to be talking to myself, but this may interest some > people. Apologies if it's all in the dox somewhere and I've missed it > (wouldn't be the first time). I have managed to get hold of various > machines and I think the following figures are correct about the > amount of space in pixels taken up by the decorations in each case. > Obviously I don't have a more general solution which will work when > Microsoft or Apple change something. I have no Unix figures. > > 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. > > Corrections and comments welcome > > Graham > > -- > ------------------------------------------------------------------- > Graham Samuel / The Living Fossil Co. / UK & France > _______________________________________________ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-> revolution > _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
