• 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: post hidden mouse events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: post hidden mouse events


  • Subject: Re: post hidden mouse events
  • From: "Giovanni Donelli" <email@hidden>
  • Date: Sat, 5 May 2007 09:19:31 +0200

I believe your intuition is correct.

Unfortunately the API seems quite buggy (as well documented in this
list) and if I use any of the other event types... nothing really
happens.

Same thing for the event source. the only one that works is the
kCGEventSourceStatePrivate

Thank you for your reply
Giovanni

On 5/4/07, Paul Thomas <email@hidden> wrote:

On 4 May 2007, at 19:26, Giovanni Donelli wrote:

> Thank you for your reply
>
> Unfortunately this works only if my application is always in
> foreground... instead the synthesized click select an other window
> (this is actually the purpose of the click)
>
> and by doing so, despite:
> CGAssociateMouseAndMouseCursorPosition(false)
>
> the mouse becomes visibile.
>
> Is there an absolute (ie works with any application)
> AssociateMouseAndMouseCursorPosition(false) ?

I haven't tried this, but does it make a difference which tap
location is specified in the post function? I can see that
kCGHIDEventTap would change the cursor position, but what about the
later ones?

Short of trawling through the private functions, that's all I got.

pt.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: post hidden mouse events (From: email@hidden (Tom Marchand))
 >Re: post hidden mouse events (From: "Giovanni Donelli" <email@hidden>)
 >Re: post hidden mouse events (From: Paul Thomas <email@hidden>)
 >Re: post hidden mouse events (From: "Giovanni Donelli" <email@hidden>)
 >Re: post hidden mouse events (From: Paul Thomas <email@hidden>)

  • Prev by Date: Re: best way to compare selectors?
  • Next by Date: Re: post hidden mouse events
  • Previous by thread: Re: post hidden mouse events
  • Next by thread: Re: post hidden mouse events
  • Index(es):
    • Date
    • Thread