• 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: Hello, List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hello, List


  • Subject: Re: Hello, List
  • From: David Dunham <email@hidden>
  • Date: Tue, 27 Nov 2007 12:47:11 -0800


On 27 Nov 2007, at 10:43, Eric Crichlow wrote:

Is there a way to programmatically position the mouse cursor from a
Cocoa class, or do I need to reach down to Quartz for this? And if I
do, is there an easy way to translate between coordinate systems?

Currently I use IOHIDPostEvent.

CGPostMouseEvent also works fine.


Or CGWarpMouseCursorPosition, depending on exactly what you want.

David Dunham
Voice/Fax: 206 783 7404             http://www.pensee.com/dunham/
Imagination is more important than knowledge. -- Albert Einstein

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Hello, List (From: Eric Crichlow <email@hidden>)

  • Prev by Date: Re: HeaderDoc DTD
  • Next by Date: Re: Problem building for 10.2.8 under Leopard
  • Previous by thread: Re: Hello, List
  • Next by thread: How can I get rid of the "Deployment Folder"
  • Index(es):
    • Date
    • Thread