• 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
Re: Checking if a modifier key is pressed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking if a modifier key is pressed


  • Subject: Re: Checking if a modifier key is pressed
  • From: j o a r <email@hidden>
  • Date: Mon, 4 Aug 2003 14:40:33 +0200

How about using:

[[NSEvent currentEvent] modifierFlags]

j o a r

On Monday, Aug 4, 2003, at 14:28 Europe/Stockholm, Jesus De Meyer wrote:

I would like to check if a modifier key is pressed before I continue with a certain method. Normally this would be done inside the keyDown method, but I'm not using that.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Checking if a modifier key is pressed (From: Jesus De Meyer <email@hidden>)

  • Prev by Date: QuickTime stops to play
  • Next by Date: Re: QuickTime stops to play
  • Previous by thread: Re: Checking if a modifier key is pressed
  • Next by thread: Re: Checking if a modifier key is pressed
  • Index(es):
    • Date
    • Thread