Re: CGPostKeyboardEvent stops my Cocoa GUI...
Re: CGPostKeyboardEvent stops my Cocoa GUI...
- Subject: Re: CGPostKeyboardEvent stops my Cocoa GUI...
- From: David Niemeijer <email@hidden>
- Date: Wed, 27 Oct 2004 17:15:08 +0200
At 5:58 PM +0200 25/10/04, Jerome Foucher wrote:
I already had a look at CGInhibitLocalEvents
I tried calling it just after my CGPostKeyboardEvent call (and also
before), but it didn't change anything.
However, I missed the CGSetLocalEventsSuppressionInterval function.
I just tried this one, and it works !!! I called it with 0.01 second
as the suppression interval, and now my buttons respond correctly to
fast clicks.
Note that you need to make this call only once at the beginning of
your app, no need to do it before each CGPostKeyboardEvent.
david.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden