Hi Steve,
There are lots of ways to debug this. Try listening for
NSMenuWillSendActionNotification to see if the menu is actually
sending an action. Override [NSApp sendAction:to:from:] to see what
actions are sent, and to which object. Override [NSMenu
performActionForItemAtIndex:] to
Peter;
Thanks for the tip on NSStringFromSelector()!
On the responder chain: I'm not sure I precisely understand your
question - where are you expecting me to call this?
If I call it at the time the submenu is being constructed I get:
appDelegate
Since I can't get any response to selecting t
On Aug 25, 2008, at 12:53 AM, Steve Cronin wrote:
Folks;
I'm building a data driven submenu programmatically.
The submenu appears correctly in the UI with the correct titles but
nothing happens when these items are selected.
[...]
I set a breakpoint at customAction: it NEVER gets calle