Re: Posting Global hot keys from a Cocoa app
Re: Posting Global hot keys from a Cocoa app
- Subject: Re: Posting Global hot keys from a Cocoa app
- From: Daniel Jalkut <email@hidden>
- Date: Thu, 2 Nov 2006 12:36:29 -0500
On Nov 2, 2006, at 10:19 AM, Daniel Jalkut wrote:
CGEnableEventStateCombining(FALSE);
CGPostKeyboardEvent(0, 111, true);
CGPostKeyboardEvent(0, 111, false);
A little bird pointed out that you should remember to set
CGEnableEventStateCombining(TRUE) after you're done, or you might
tweak your keyboard state.
Daniel
_______________________________________________
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