realbasic-nug
[Top] [All Lists]

Re: [OS X] detecting screen resolution changes

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: [OS X] detecting screen resolution changes
From: Tony Spencer <janesmith at mac dot com>
Date: Tue, 28 Feb 2006 09:12:34 +0100
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <00DA9EA9-0C8A-4B8F-9062-8D562262D53D at mac dot com>
Things like this used to be dealt with by the Activate event in the app class.

Basically, when the res changes, your application should be deactivated and reactivated, so you only need to put checking code in the Activate event. But things may have changed...


On 27 Feb 2006, at 00:11, Tom Benson wrote:

Does OS X send a system wide apple event or anything after the screen resolution is changed?

I need to know when resolution is changed to adjust some routines accordingly, but would rather not devote system reources to a little timer in the background checking for changes in screen (0).width etc....

Any ideas?

Tony Spencer
St Rémy de Provence (13) France

tonyspencer at fastmail dot net_______________________________________________
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>