Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Darkroom

Guest
Original poster
is it possible to disable and enable the zoom title bar button (and attached menu item) dynamically in an IBAction statement?

something like...

Code:
-(IBAction)showSheet:(id)sender
{
[NSApp beginSheet:sheet modalForWindow:window modalDelegate:nil didEndSelector:NULL contextInfo:NULL];
//and then disable zoom on "window"
}
 
guess not... 🙄

the reason i ask is because i think it's kinda dumb that when a sheet becomes visible, the toolbar and toobar button in the titlebar becomes disabled, but you can still miniaturize and zoom a window, which i think is both pointless and inconsistent...

also, not being able to quit an application when a sheet is present is kinda ghetto... or at least i can't seem to in my app and don't really know why... especially since i can still Hide, Hide Others and Show All 🙄

*sigh*... oh apple... you and your random HIG...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.