Hooking up Help menu item

2014-02-15 Thread Roland King
I want the help menu item in my app to redirect to a webpage, the redirect I can do fine, it's hooking it up confuses me. That menu item sends by default showHelp: to First Responder. So I wrote a showHelp: method in the App Delegate but it doesn't get called, I still get the 'help not

Re: Hooking up Help menu item

2014-02-15 Thread Graham Cox
On 15 Feb 2014, at 8:40 pm, Roland King r...@rols.org wrote: want the help menu item in my app to redirect to a webpage, the redirect I can do fine, it's hooking it up confuses me. That menu item sends by default showHelp: to First Responder. So I wrote a showHelp: method in the App

Re: Hooking up Help menu item

2014-02-15 Thread Roland King
On 15 Feb, 2014, at 18:42, Graham Cox graham@bigpond.com wrote: The application delegate is after NSApplication in the responder chain, so because -showHelp: is a method of NSApplication, the method isn't forwarded to the delegate. That's the piece I was missing. The responder chain

Re: Hooking up Help menu item

2014-02-15 Thread Graham Cox
On 15 Feb 2014, at 8:40 pm, Roland King r...@rols.org wrote: This is the second responder chain issue which has confused me, another menu item had to be hooked up to point directly to an NSView subclass because sending that to First Responder didn't work either. I eventually decided the