Re: Mouse Control
Re: Mouse Control
- Subject: Re: Mouse Control
- From: Peter Ammon <email@hidden>
- Date: Mon, 18 Jun 2001 14:27:14 -0700
on 6/18/01 10:11 AM, Steven Abner at email@hidden wrote:
>
Can one reset or set the mouse location to the center of a window
>
in Cocoa? One can still use GetMouse() for position and tell when
>
it's time to re-center but how do you re-center?
Try using the CoreGraphics function
CGDisplayMoveCursorToPoint(CGDirectDisplayID display, CGPoint point);
-Peter