On Nov 23, 2009, at 10:17 AM, Symadept wrote:

> I managed to get my app support for registering hotkeys and using it. But
> unfortunately if I register Cmd P as hot key in my app, no one in the system
> can use this hotkey to print unless I deregister it. How can I make it not
> block others.

I do it in my hotkey callback function by temporarily unregistering my hotkey, 
reposting the incoming keyboard event into the event stream, and re-registering 
my hotkey. It works fine.


--

Bill Cheeseman
b...@cheeseman.name

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to