Re: Enter/exit full screen notification
Re: Enter/exit full screen notification
- Subject: Re: Enter/exit full screen notification
- From: Ryan Joseph <email@hidden>
- Date: Thu, 20 Oct 2011 14:34:02 +0700
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