• 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
Re: enabling Edit menu items in a modal window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: enabling Edit menu items in a modal window?


  • Subject: Re: enabling Edit menu items in a modal window?
  • From: mmalc Crawford <email@hidden>
  • Date: Mon, 02 Mar 2009 09:10:45 -0800


On Mar 2, 2009, at 8:28 AM, Steve Christensen wrote:


http://developer.apple.com/DOCUMENTATION/Cocoa/Reference/ApplicationKit/Protocols/NSMenuValidation_Protocol/Reference/Reference.html
I tried doing that, both in my NSTableView subclass and, just to see if it would make a difference, in my window controller. No difference. This continues to be strange since NSTextFields work just great in that regard.
I also tried another test case and created a new Cocoa app project with a table in a window. When I ran it as-is, Select All was disabled. When I subclassed the table and added validateMenuItem:, Select All was enabled. So at this point I'm stuck because nobody even calls validateMenuItem: for my modal window...


Is this on 10.4?
Are you possibly hitting the bug described in <http://developer.apple.com/documentation/Cocoa/Conceptual/NSPersistentDocumentTutorial104/08_CreationSheet/chapter_9_section_6.html >?


mmalc

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: enabling Edit menu items in a modal window?
      • From: Steve Christensen <email@hidden>
References: 
 >Re: enabling Edit menu items in a modal window? (From: "Paul Sanders" <email@hidden>)
 >Re: enabling Edit menu items in a modal window? (From: Steve Christensen <email@hidden>)
 >Re: enabling Edit menu items in a modal window? (From: "Paul Sanders" <email@hidden>)
 >Re: enabling Edit menu items in a modal window? (From: Steve Christensen <email@hidden>)

  • Prev by Date: Re: enabling Edit menu items in a modal window?
  • Next by Date: Re: Does CGImageSourceCreateThumbnailAtIndex max out at 5000 pixels?
  • Previous by thread: Re: enabling Edit menu items in a modal window?
  • Next by thread: Re: enabling Edit menu items in a modal window?
  • Index(es):
    • Date
    • Thread