Getting the state of the option key...
Getting the state of the option key...
- Subject: Getting the state of the option key...
- From: Scott Ryder <email@hidden>
- Date: Wed, 28 Aug 2002 12:37:28 -0700
All,
I need a little bit of help. Here is what I am trying to do.
At Application launch I need to check to see if the option key was
held down by the user. I would think this is simple enough but am
unable to find anything in the Docs as to how to get the state of a key
or what messages to listen for. I am hoping I don't have to go to
Carbon to do this.
I have played with a subclass of NSWindow and I get key downs but
1) Not for modifiers (option, cntrl ....)
2) Not if the key was held during launch
3) Not until after my applicaitonDidFinishLaunching method has
executed.
Any thoughts out there on how to check to see if option is down
during/between
awakeFromNib
-or-
applicationDidFinishLaunching
Thanks
--Scott
_______________________________________________
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.