• 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: Detecting the Option key at launch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting the Option key at launch


  • Subject: Re: Detecting the Option key at launch
  • From: Jim Hamilton <email@hidden>
  • Date: Fri, 4 Mar 2005 16:24:22 -0500


On Mar 4, 2005, at 4:21 PM, Kodex wrote:

Yes i tried that i get the complier error

ld: Objects-normal/ppc/controller.o illegal reference
to symbol: _GetCurrentKeyModifiers defined in
indirectly referenced dynamic library
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ HIToolbox.framework/Versions/A/HIToolbox


I included carbon.h

Any ideas?

Um, have you tried adding Carbon.framework to your project?

--- Frank Midgley <email@hidden> wrote:
On Mar 4, 2005, at 2:59PM, Kodex wrote:

Ive searched the archives and i cant find a decent
soultion. I am
trying to detect if the user is holding the option
key down at boot.
Is there an easy way to do this? Do i need
addtional libraries or
something of that sort?

What archives did you search?


http://www.cocoabuilder.com/search/archive?words=option+key+launch

First hit has the solution.

-Frank

------------------------------------
Frank M. Midgley
email@hidden
http://homepage.mac.com/knarf/



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: Detecting the Option key at launch (From: Kodex <email@hidden>)

  • Prev by Date: Re: Detecting the Option key at launch
  • Next by Date: Re: Sort of OT: Closing Carbon-based view windows with the menu
  • Previous by thread: Re: Detecting the Option key at launch
  • Next by thread: Re: Sort of OT: Closing Carbon-based view windows with the menu
  • Index(es):
    • Date
    • Thread