Thank you all for pointing me to the solution of my question.
My first thought was that you could change the target of the menu item so that it calls your own method, then call the original showHelp method with something like: [NSApp showHelp:sender]
This is what I did now, using an own -myShowHelp: method which calls [NSApp showHelp:sender], when other things have been prepared. This of course opens the Help Viewer. No need to subclass NSApplication and to override showHelp: at all.
- (IBAction)myShowHelp:(id)sender { [... do some stuff]; [NSApp showHelp:sender]; [... do some other stuff]; } ---Ulf Dunkel _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com