• 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
Detecting the Option key on selecting a menuitem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Detecting the Option key on selecting a menuitem


  • Subject: Detecting the Option key on selecting a menuitem
  • From: Stephen J McIntosh <email@hidden>
  • Date: Tue, 3 May 2005 12:33:19 +1000

Hi All

Has anyone got an sample code (Objective C) that can show how to catch a menu item selected with the Option key is held down?

All I can find on the web is a reference to using Carbon menu (FastScripts developer 13 Feb 2005) and
registering to receive the kEventMenuTargetItem event.

Does anyone have any code that can demonstrate how to do this from a Cocoa app rather than a Carbon app.

Thanks in advance
Steve
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Clarification: Detecting the Option key on selecting a menuitem
      • From: Stephen J McIntosh <email@hidden>
    • Re: Detecting the Option key on selecting a menuitem
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Programatically adding small checkboxes
  • Next by Date: Re: Programatically adding small checkboxes
  • Previous by thread: Re: Programatically adding small checkboxes
  • Next by thread: Re: Detecting the Option key on selecting a menuitem
  • Index(es):
    • Date
    • Thread