• 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: Lee Ann Rucker <email@hidden>
  • Date: Thu, 20 Oct 2011 00:45:02 -0700 (PDT)

You're trying to see changes made by other apps, right? I don't think you're going to see these notifications, then, and also Lion's fullscreen moves the window into its own special Mission Control Space, so I'd think your window would be left behind on the original Space.

In 10.6 (and 10.7) it's NSApplication presentationOptions. I've never tried to detect another app's changes to them, though.

----- Original Message -----
From: "Ryan Joseph" <email@hidden>
To: email@hidden
Sent: Thursday, October 20, 2011 12:34:02 AM
Subject: Re: Enter/exit full screen notification

Thanks. those are what I was looking for, but unfortunately this is in only in 10.7. What were people using prior to 10.7?

Does anyone know anything about kEventMenuBarShown and if this is the correct Carbon event to handle pre-10.7? The information I found is from 2005 so I don't know if this is supported anymore and Apple has totally deprecated the Carbon Event Manager, even though it seems there is still crucial functionality they haven't made Cocoa equivalents of.

On Oct 20, 2011, at 2:22 PM, lowell wrote:

> 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);

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: 
 >Re: Enter/exit full screen notification (From: Ryan Joseph <email@hidden>)

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