Re: Get notified of fullscreen switch
Re: Get notified of fullscreen switch
- Subject: Re: Get notified of fullscreen switch
- From: Eric Schlegel <email@hidden>
- Date: Tue, 23 Dec 2008 20:24:19 -0800
On Dec 23, 2008, at 8:10 PM, Sean McBride wrote:
On 17-Dec-08, at 11:59 AM, Eric Schlegel wrote:
Is there a way, that my application (Playwatch), which is an
iTunes Controller running in the menu bar, gets notified, when
another Application, like DVD-Player, switches to full screen
(kiosk) mode?
At the moment, the recommended way to do this is to use a Carbon
event handler for the kEventAppSystemUIModeChanged Carbon event.
Eric, doesn't that only work if the app implements its fullscreen
using SetSystemUIMode()? As NSView's fullscreen functionality
doesn't call SetSystemUIMode(), there would be no notification in
that case.
That's quite true, if you don't use SetSystemUIMode to hide the
menubar and another UI affordances, you won't broadcast any
notification.
-eric
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden