• 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
Determining modifier key state and *end* of menu selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Determining modifier key state and *end* of menu selection


  • Subject: Determining modifier key state and *end* of menu selection
  • From: Mark Alldritt <email@hidden>
  • Date: Mon, 10 Jul 2006 17:54:24 -0700
  • Thread-topic: Determining modifier key state and *end* of menu selection

Hi All,

I'm trying to reliably determine the state of the keyboard modifiers (option
key) at the end of a menu selection.  The event returned by [NSApp
currentEvent] seems to represent the event that initiates the menu
selection.  I need to get at the mouseUp event that concludes the menu
selection so that I don't miss the possibility that the user changed their
mind during the menu selection.

How should I do this?

Cheers
-Mark

------------------------------------------------------------------------
Mark Alldritt                      Late Night Software Ltd.
Phone: 250-380-1725                Script Debugger 4.0 - AppleScript IDE
WEB:  http://www.latenightsw.com/  FaceSpan 4.3 - AppleScript RAD
                                   Affrus 1.0 - Perl Debugging


 _______________________________________________
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:
    • Re: Determining modifier key state and *end* of menu selection
      • From: glenn andreas <email@hidden>
  • Prev by Date: Re: How do I get at my bindings in a unit test?
  • Next by Date: Re: Core Data entities not getting loaded into MOC when opening file
  • Previous by thread: Re: How do I get at my bindings in a unit test?
  • Next by thread: Re: Determining modifier key state and *end* of menu selection
  • Index(es):
    • Date
    • Thread