examining keyboard state ?
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.