• 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: Set the Cursor Position
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set the Cursor Position


  • Subject: Re: Set the Cursor Position
  • From: Sherm Pendley <email@hidden>
  • Date: Thu, 19 Aug 2010 21:43:37 -0400

On Thu, Aug 19, 2010 at 9:32 PM, Murat Konar <email@hidden> wrote:
> CGDisplayMoveCursorToPoint(CGDirectDisplayID display, CGPoint point);
>
> But heed the other's hints that, except for special classes of software
> (like a VNC app), software that warps the pointer's location independent of
> the mouse is much un-loved on the Mac.

One such exception would be 2d or 3d graphics apps, where it's
expected to have a tool that allows the user to click and drag to
scale or rotate an object. When such a tool is active, one might
respond to drag events by modifying the model to match the mouse
movement, then warping the cursor back to its original position.

sherm--

--
Cocoa programming in Perl:
http://camelbones.sourceforge.net
_______________________________________________

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

  • Follow-Ups:
    • Re: Set the Cursor Position
      • From: Raleigh Ledet <email@hidden>
    • Re: Set the Cursor Position
      • From: Ken Thomases <email@hidden>
    • Re: Set the Cursor Position
      • From: "email@hidden" <email@hidden>
References: 
 >Re: Set the Cursor Position (From: James Walker <email@hidden>)
 >Re: Set the Cursor Position (From: email@hidden)
 >Re: Set the Cursor Position (From: Murat Konar <email@hidden>)

  • Prev by Date: Re: Set the Cursor Position
  • Next by Date: stringWithQuotedPrintableString almost perfect
  • Previous by thread: Re: Set the Cursor Position
  • Next by thread: Re: Set the Cursor Position
  • Index(es):
    • Date
    • Thread