• 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: Enter/exit full screen notification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enter/exit full screen notification


  • Subject: Re: Enter/exit full screen notification
  • From: lowell <email@hidden>
  • Date: Thu, 20 Oct 2011 00:22:13 -0700

Yup. Here are two different ways:

/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/NSWindow.h @757:
- (void)windowWillEnterFullScreen:(NSNotification *)notification   NS_AVAILABLE_MAC(10_7);
- (void)windowDidEnterFullScreen:(NSNotification *)notification   NS_AVAILABLE_MAC(10_7);
- (void)windowWillExitFullScreen:(NSNotification *)notification   NS_AVAILABLE_MAC(10_7);
- (void)windowDidExitFullScreen:(NSNotification *)notification   NS_AVAILABLE_MAC(10_7);

/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/NSWindow.h @791:
APPKIT_EXTERN NSString * const NSWindowWillEnterFullScreenNotification NS_AVAILABLE_MAC(10_7);
APPKIT_EXTERN NSString * const NSWindowDidEnterFullScreenNotification NS_AVAILABLE_MAC(10_7);
APPKIT_EXTERN NSString * const NSWindowWillExitFullScreenNotification NS_AVAILABLE_MAC(10_7);
APPKIT_EXTERN NSString * const NSWindowDidExitFullScreenNotification NS_AVAILABLE_MAC(10_7);

--lowell

On Oct 19, 2011, at 10:01 PM, Ryan Joseph wrote:

> Is there an effective way to be notified when the system goes into full screen mode (on 10.6 and 10.7)? The only information I found on Google was from 2005 and earlier including Carbon event handlers which are deprecated now.
>
> I ask because I have a user agent app (which floats above all windows) that needs to be hidden when any app goes into full screen, otherwise my window will cover the full screen app.
>
> Thanks for any ideas.
>
> Regards,
> 	Ryan Joseph
> 	thealchemistguild.com
>
> _______________________________________________
>
> 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

_______________________________________________

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

  • Follow-Ups:
    • Re: Enter/exit full screen notification
      • From: Ryan Joseph <email@hidden>
References: 
 >Enter/exit full screen notification (From: Ryan Joseph <email@hidden>)

  • Prev by Date: Re: preventing bad memory access
  • Next by Date: Re: Enter/exit full screen notification
  • Previous by thread: Enter/exit full screen notification
  • Next by thread: Re: Enter/exit full screen notification
  • Index(es):
    • Date
    • Thread