NSMenuDelegate menuDidClose called before NSMenuItem's action?
NSMenuDelegate menuDidClose called before NSMenuItem's action?
- Subject: NSMenuDelegate menuDidClose called before NSMenuItem's action?
- From: augusto callejas <email@hidden>
- Date: Fri, 25 Jun 2010 14:58:01 -0700
hi-
i'm constructing an NSMenu with a delegate to handle menuDidClose.
that menu has an NSMenuItem that had an action to handle when its selected.
when i select the menu item from the menu, it calls menuDidClose, and then
the action of the NSMenuItem. i would expect the other order, but the documentation
doesn't state what order these messages are sent. is there a way to specify what
order these messages are sent?
thanks,
augusto._______________________________________________
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