• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Hooking up Help menu item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hooking up Help menu item


  • Subject: Hooking up Help menu item
  • From: Roland King <email@hidden>
  • Date: Sat, 15 Feb 2014 17:40:31 +0800

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 available' popup.

I have a different menu item which sends a custom action, onCommandLog: to First Responder and that one does happily find the implementation in the App Delegate, why does the menu showHelp: not work the same way? I can hook it up directly to the delegate but I'm trying to use (and understand) the responder chain.

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 window wasn't in the chain so it wasn't getting it.


_______________________________________________

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


  • Follow-Ups:
    • Re: Hooking up Help menu item
      • From: Graham Cox <email@hidden>
    • Re: Hooking up Help menu item
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: OpenCL Basic Programming Question
  • Next by Date: Re: Display selectd sub-menuItem in NSPopUpButton
  • Previous by thread: Re: PDFPage init methods not called
  • Next by thread: Re: Hooking up Help menu item
  • Index(es):
    • Date
    • Thread