• 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: Detecting Keydowns
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting Keydowns


  • Subject: Re: Detecting Keydowns
  • From: Enrique Zamudio Lopez <email@hidden>
  • Date: Thu, 14 Jun 2001 01:14:55 -0500

If you want to detect the state of Control, Option and Command keys (I think Shift is also available), you have to read the modifier flags on a key event. You can usually override -keyDown: in your NSView subclass and check on the modifier flags.

Enrique Zamudio Lopez
Chief Software Architect
North American Software
email@hidden
http://www.nasoft.com.mx/


  • Follow-Ups:
    • Re: Detecting Keydowns
      • From: Stéphane Sudre <email@hidden>
  • Prev by Date: mySQL framework
  • Next by Date: Re: Random Numbers
  • Previous by thread: Re: Detecting Keydowns
  • Next by thread: Re: Detecting Keydowns
  • Index(es):
    • Date
    • Thread