NSMenu's window commands are automagically greyed out...
NSMenu's window commands are automagically greyed out...
- Subject: NSMenu's window commands are automagically greyed out...
- From: Jonathan del Strother <email@hidden>
- Date: Fri, 11 Nov 2005 15:28:01 +0000
I'm implementing a fullscreen mode in my app, by created a new
borderless NSWindow and moving my NSView content to it.
When I do so, File->Close, and Window->Minimize/Zoom all get greyed
out. I think this occurs on [NSWindow setContentView] - I'd like to
change this behaviour so that they remain enabled, and when clicked
they cancel fullscreen mode before running the expected action.
I'm sure I could go and manually enable each menu item and set the
target action appropriately, but it might help if I could at least
find the mechanism by which these are getting disabled, first.
Anyone know?
Jon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden