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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to