• 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: Alternative startup for application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Alternative startup for application
      • From: Gideon King <email@hidden>
References: 
 >Alternative startup for application (From: Gideon King <email@hidden>)
 >Re: Alternative startup for application (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: NSPredicate/NSExpression - can they solve this Core Data problem?
  • Next by Date: CIFilter - output image format
  • Previous by thread: Re: Alternative startup for application
  • Next by thread: Re: Alternative startup for application
  • Index(es):
    • Date
    • Thread