Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hotkeys in Cocoa using undocumented CoreGraphics calls



The hardest part is knowing what is compatible with the Cocoa event loop and what is not. Apple should document that ;)

Ack, at 12/10/01, Wilfried de Denterghem said:

Hello there,

I know this has been asked before but I'm trying yet again.

I want to be able to catch system-wide keystrokes or "hot keys" in Cocoa. Yes, I know there is a RegisterEventForHotKey call in Carbon but it's useless to me. I've been looking into the CoreGraphics framework and found out there were a few mysterious undocumented calls
in there, namely :

CGSGetHotKey
CGSIsHotKeyEnabled
CGSRemoveHotKey
CGSSetHotKey
CGSSetHotKeyEnabled
CGSSetHotKeyWithExclusion

Can anybody give me a hint on that subject? I'd like to get the prototypes of those functions so I can link against them. Any help will be greatly appreciated.

Wilfried de Denterghem

--



Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug

Unsanity: Unsane Tools for Insane People


References: 
 >Hotkeys in Cocoa using undocumented CoreGraphics calls (From: Wilfried de Denterghem <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.