• 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: moving the cursor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: moving the cursor


  • Subject: Re: moving the cursor
  • From: Bob Stuller <email@hidden>
  • Date: Thu, 14 Mar 2002 18:38:15 -0500

Chaz, Greetings!

At 3:51 PM -0700 3/14/02, Chaz wrote:
Does anybody know how to move the cursor to a different point on the screen with Cocoa? Is there a way with Cocoa? If not, how would one go about doing this using other means?

While I don't know about a Cocoa way to do this, there is 'CGWarpMouseCursorPosition' which is pretty straightforward. Interestingly, the comment in the header file says that this does not generate any events...

Peace,
Bob
--

It's Great to be Green!
http://www.greenpartyus.org/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >moving the cursor (From: Chaz <email@hidden>)

  • Prev by Date: Re: Run an AppleScript from Objective-C?
  • Next by Date: Disable anti-aliasing in NSTextView?
  • Previous by thread: moving the cursor
  • Next by thread: Displaying Keyboard Key Glyphs
  • Index(es):
    • Date
    • Thread