• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Posting Global hot keys from a Cocoa app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: Posting Global hot keys from a Cocoa app (From: Murat Konar <email@hidden>)
 >Re: Posting Global hot keys from a Cocoa app (From: Daniel Jalkut <email@hidden>)

  • Prev by Date: Re: NSOutlineView & NSTableView setEnabled:NO not working?
  • Next by Date: Re: Open my Application via safari
  • Previous by thread: Re: Posting Global hot keys from a Cocoa app
  • Next by thread: Re: Posting Global hot keys from a Cocoa app
  • Index(es):
    • Date
    • Thread