Re: Alternative startup for application
Re: Alternative startup for application
- Subject: Re: Alternative startup for application
- From: Quincey Morris <email@hidden>
- Date: Fri, 2 Apr 2010 10:09:47 -0700
On Apr 2, 2010, at 08:30, Jens Alfke wrote:
> I would have said GetKeys(), but it seems to have been deprecated and removed in the eyeblink [read: decade] since I last used Carbon. There must be some modern equivalent for reading the current state of the keyboard?
For completeness:
The non-deprecated-but-hard-to-find-documentation-for status of GetKeys () was discussed fairly recently in this thread:
http://www.cocoabuilder.com/archive/cocoa/281840-high-level-toolkit-is-it-obsolete-or-not.html
The "modern" (Snow Leopard) equivalent for finding the state of the Option key would be +[NSEvent modifierFlags].
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden