• 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 delegate question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSMenu delegate question


  • Subject: NSMenu delegate question
  • From: Jesus De Meyer <email@hidden>
  • Date: Fri, 29 Oct 2004 15:31:42 +0200

OK, so I'm using the delegate methods for NSMenu and I saw something weird. In my app, when I pick a menu item from the menu, I get a window with a textfield where I can type things. From the moment I hit a key on the textfield the method - (BOOL)menu:(NSMenu *)menu updateItem:(NSMenuItem *)item atIndex:(int)index shouldCancel:(BOOL)shouldCancel gets called.

Why is this? The menu itself is untouched so the delegate method shouldn't be called. _______________________________________________
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: Framework and Prebinding
  • Next by Date: is there a tool that displays object relationships in Cocoa?
  • Previous by thread: how to disable 'Maximize window' button
  • Next by thread: is there a tool that displays object relationships in Cocoa?
  • Index(es):
    • Date
    • Thread