On 7 May 2011, at 0:29 , Nick <eveningn...@gmail.com> wrote: > > May this is just a wrong function to retrieve the cursor's position? > Or it doesnt work for some older builds of OX X 10.6.x ?
-hotSpot returns a point within in the cursor image, used to determine which part of the cursor is it's 'main point'. From the docs: "The point describing the position of the hot spot, specified according to the cursor’s flipped coordinate system." If you want to get the onscreen position look at -[NSWindow mouseLocationOutsideOfEventStream] or +[NSEvent mouseLocation] Jim_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com