Re: CGPostKeyboardEvent stops my Cocoa GUI...
Re: CGPostKeyboardEvent stops my Cocoa GUI...
- Subject: Re: CGPostKeyboardEvent stops my Cocoa GUI...
- From: Jerome Foucher <email@hidden>
- Date: Mon, 25 Oct 2004 17:58:36 +0200
On Monday, October 25, 2004, at 04:50PM, Matt Budd <email@hidden> wrote:
>Perhaps look at the following APIs in CGRemoteOperation.h
>
>
>CG_EXTERN CGError CGSetLocalEventsSuppressionInterval(CFTimeInterval
>seconds);
>CG_EXTERN CGError CGInhibitLocalEvents( boolean_t doInhibit);
>
>
>It sounds like Local Event Suppression is on when you really don't want
>it to be?
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.
Thanks !
Jérome
_______________________________________________
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