• 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
validateMenuItem: issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

validateMenuItem: issues


  • Subject: validateMenuItem: issues
  • From: Mark de Jong <email@hidden>
  • Date: Wed, 22 May 2002 09:39:26 -0700

A while back I posted a few messages on OmniGroup's cocoa development list about problems I was having with "validateMenuItem:" not being called consistently.

After poking around for a while, I wrote this:

===
Ok. One more piece of information. If my menu items are in a menu of my own making (called "Tools"), then the menu items in that menu do make it to my validateMenuItem:.

However, if I put my own menuitems in the "File" menu, then "validMenuItem:" is NOT called with those items. What's so special about the "File" menu?

Note that in either case, if I select the menu item, the correct target is invoked.

-- Mark
===

Can anyone here shed some light on this?

Thanks!

-- Mark
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: validateMenuItem: issues
      • From: Gideon King <email@hidden>
  • Prev by Date: Re: Apple Events in Cocoa
  • Next by Date: Re: NSString comparing alphanumerically (with numbers)
  • Previous by thread: Re: keybinding and getting keyDown for entire app
  • Next by thread: Re: validateMenuItem: issues
  • Index(es):
    • Date
    • Thread