Not exactly, but you can do it. If you acquire a pointer to the File menu itself, you can give it a delegate object. One of the methods of the NSMenuDelegate protocol is (void)menuWillOpen:(NSMenu *)menu
. You could probably use this to achieve the same effect as a target-action mechanism.
Dave DeLong
2009-09-09 22:13:22