• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSMenu's window commands are automagically greyed out...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: -[NSURL path] returning empty string for relative file URL
  • Next by Date: Re: -[NSURL path] returning empty string for relative file URL
  • Previous by thread: Re: how to count NSThreads and NSTasks ?
  • Next by thread: Closing a sheet
  • Index(es):
    • Date
    • Thread