realbasic-nug
[Top] [All Lists]

Re: Window on which Screen(x)

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Window on which Screen(x)
From: Arnaud Nicolet <arnaud at tribu dot ch>
Date: Wed, 28 Mar 2007 21:18:33 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20070328191420 dot 8B0DE721D8F at mail dot verex dot com>
Le 28 mars 07 à 21:14 Soir, joe at strout dot net a écrit:

> On Mar 28, 2007, at 19:09 UTC, Jaap Cammeraat wrote:
>
>> How can I find on which screen a window currently is showed?
>
> You mean which screens -- it could be on several, right?  If you want
> to find out which one it is *mostly* on, then you calculate the  
> area of
> the intersection of the window bounds and each screen bounds, and
> select the screen with the greatest area.  Or, you may prefer to do
> this based just on the title bar, since users sometimes think of it
> that way.

Can you assume, on a 4 screens mode, that the 3rd screen will always  
be the one at the left-bottom on every platform?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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