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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to