realbasic-nug
[Top] [All Lists]

Re: Window.Width when fullscreen?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Window.Width when fullscreen?
From: Terry Ford <tmford at shaw dot ca>
Date: Sun, 30 Jul 2006 03:55:06 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <58CD08F0-97C3-43DD-B790-11016212D993 at tribu dot ch> <4988C151-87E6-4294-A3D3-FD01F2D990F2 at classonesoftware dot com> <4B2F1409-5AC7-42EE-8912-130144A509B8 at shaw dot ca> <b619b1330607300015l79c21e9bs206f9e3b55b34afe at mail dot gmail dot com>

On Jul 30, 2006, at 12:15 AM, Maarten de Vries wrote:

On 30/07/06, Terry Ford <tmford at shaw dot ca> wrote:


On Jul 29, 2006, at 5:27 PM, Roger Clary wrote:

>
> On Jul 29, 2006, at 8:13 PM, Arnaud Nicolet wrote:
>
>> When I check the fullscreen property of a window, how do I get the
>> actual width and height of it?
>>
>> I'm sure I can't rely on the Screen(0).width and height
>> properties, right?
>
> self.width
> self.height

Which is the same as Screen(0).Width and Screen(0).Height when
FullScreen is selected without a menubar.

Terry

But not the same with menubar

Maarten

Right. That's where Screen(0).AvailableHeight and Screen (0).AvailableWidth come in. These gives the Height and Width of the screen less the menubar and Dock/TaskBar.

Terry

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>