• 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
examining keyboard state ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

examining keyboard state ?


  • Subject: examining keyboard state ?
  • From: Robert Miller <email@hidden>
  • Date: Tue, 25 Sep 2001 15:41:21 -0400
  • Organization: RFM & Associates

Hello,

Another basic question ? How does one go about grabbing the keyboard
state (the Carbon call GetKeys(...) equivalent) in Cocoa ? I want to be
able to grab the keyboard state at the time I receive a particular
IBAction call from a button click in my window. I can't seem to find
anything on this subject except for the NSEvent stuff which I am not
using in this case. I'm looking to check if things like the option key,
command key, etc. are pressed at the time I service the mouse click in
the IBAction method, or at any time for that matter? Anybody ???


Thanks in advance.
Regards,
Bob M.


  • Follow-Ups:
    • Re: examining keyboard state ?
      • From: Dan Wood <email@hidden>
    • Re: examining keyboard state ?
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: SELs in arrays
  • Next by Date: Re: SELs in arrays
  • Previous by thread: SELs in arrays
  • Next by thread: Re: examining keyboard state ?
  • Index(es):
    • Date
    • Thread