Re: Enter/exit full screen notification

2011-10-20 Thread lowell
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);

Re: Enter/exit full screen notification

2011-10-20 Thread Ryan Joseph
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

Re: Enter/exit full screen notification

2011-10-20 Thread Ryan Joseph
On Oct 20, 2011, at 2:45 PM, Lee Ann Rucker wrote: 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

Re: Enter/exit full screen notification

2011-10-20 Thread Lee Ann Rucker
On Oct 20, 2011, at 2:21 AM, Ryan Joseph wrote: On Oct 20, 2011, at 2:45 PM, Lee Ann Rucker wrote: 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

Enter/exit full screen notification

2011-10-19 Thread Ryan Joseph
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