• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Get notified of fullscreen switch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Get notified of fullscreen switch (From: Joachim Deelen <email@hidden>)
 >Re: Get notified of fullscreen switch (From: Eric Schlegel <email@hidden>)
 >Re: Get notified of fullscreen switch (From: Sean McBride <email@hidden>)

  • Prev by Date: Re: Network volume
  • Next by Date: re: help needed with odd NSCoding encodeWithCoder: call to Core Data object
  • Previous by thread: Re: Get notified of fullscreen switch
  • Next by thread: Background color of disclosure triangle row
  • Index(es):
    • Date
    • Thread