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 protected])
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 [email protected]