Re: Cancel CGEvent
Re: Cancel CGEvent
- Subject: Re: Cancel CGEvent
- From: Jean-Daniel Dupas <email@hidden>
- Date: Sat, 13 Dec 2008 19:39:34 +0100
Le 13 déc. 08 à 19:19, sheen mac a écrit :
Hi All,
Is it possible to cancel CGEvent for mouse at CGEventTrapCallBack ?.
Could suggest some link info?.
Thanks In Advance,
Sheen
From the CGEventTapCallBack reference:
If the event tap is an active filter, your callback function should
return one of the following:
• The (possibly modified) event that is passed in. This event is
passed back to the event system.
• A newly-constructed event. After the new event has been passed back
to the event system, the new event will be released along with the
original event.
• NULL if the event passed in is to be deleted.
Did you try that and it didn't work, or have you just miss that in the
reference ?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden