Re: Listening key board event while application in status bar
Re: Listening key board event while application in status bar
- Subject: Re: Listening key board event while application in status bar
- From: Eric Schlegel <email@hidden>
- Date: Tue, 03 Mar 2009 09:28:53 -0800
On Mar 3, 2009, at 4:50 AM, Vijay Kanse wrote:
Hello,
My application remains in system status bar. and i have three menu
items
with my application icon.
I want to add key board listener for my application. so, if i press
ctrl +
shift + f12 then it should give me some event. the menu should not
display
this shortcut and menu item.
is it possible to have such events keeping application in system
status bar
?
Hi Vijay,
Take a look at the Carbon hotkey API RegisterEventHotKey, in HIToolbox/
CarbonEvents.h.
-eric
_______________________________________________
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