Detecting the active monitor under Mavericks and Yosemite...

Pi Digital sean at pidigital.co.uk
Wed Nov 26 18:11:11 EST 2014


Paul

It's the difference between the screenRect and the 'working screenRect'. The dictionary describes these well under screenRect. 

Sean Cole
Pi Digital

--
This message was sent from an iPhone, probably because I'm out and about. Always contactable. Well, most of the time :/


> On 25 Nov 2014, at 17:41, Paul Dupuis <paul at researchware.com> wrote:
> 
> Starting with OSX 10.9 and 10.10, Apple introduced changes to how
> multiple monitors are handled. The menubar appears on all monitors and
> when you drag a window from one monitor to another the menubar for the
> application that window belongs to becomes active on the target monitor.
> 
> Question: Does anyone know if there is a way to detect which monitor has
> the active menubar under 10.9 and up? I don't see any obvious dictionary
> entries for detecting this in LC 6.7 or 7.0, but maybe there is a
> non-obvious way.
> 
> I believe that from an UI perspective, an application should open new
> windows on the monitor which has the active menu bar for the
> application, but that requires the ability to tell which monitor has the
> currently active menubar.
> 
> 
> _______________________________________________
> 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