Re: global key bindings
Re: global key bindings
- Subject: Re: global key bindings
- From: Jean-Daniel Dupas <email@hidden>
- Date: Thu, 28 Aug 2008 15:43:18 +0200
Le 28 août 08 à 14:21, David Reitter a écrit :
On 28 Aug 2008, at 00:27, Eric Schlegel wrote:
Menus contained in NSStatusItems (and displayed on the right side
of the menubar) don't currently respond to command keys at all.
This is already reported in Radar.
Thanks, I'll stop looking then.
FWIW, the binding does work once the menu is shown. Also, Adium
somehow manages to pull it off, too.
Can you give me a pointer on how to implement global key bindings?
(Again, the app has no menu / Dock icon and would want to receive
the event without having focus. I need something like Hot Keys in
Carbon.)
So use Carbon Hot Keys.
http://developer.apple.com/samplecode/FunkyOverlayWindow/listing7.html
_______________________________________________
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