• 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: Cancel CGEvent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cancel CGEvent


  • Subject: Re: Cancel CGEvent
  • From: sheen mac <email@hidden>
  • Date: Sun, 14 Dec 2008 10:11:21 -0800 (PST)

Hi,

I tried that, passed NULL at the callback.
But it didn't works MouseMove event. All other
cases of mouse its works good.



Thanks In Advance,
Sheen




--- On Sun, 12/14/08, Jean-Daniel Dupas <email@hidden> wrote:

> From: Jean-Daniel Dupas <email@hidden>
> Subject: Re: Cancel CGEvent
> To: email@hidden
> Cc: email@hidden
> Date: Sunday, December 14, 2008, 12:09 AM
> 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

References: 
 >Re: Cancel CGEvent (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: nib loading / displaying question.
  • Next by Date: Re: open package installer in bundle resources directory not working
  • Previous by thread: Re: Cancel CGEvent
  • Next by thread: How to make a CALayer dont get blur when rotating.
  • Index(es):
    • Date
    • Thread