iDevGames Forums
Cursors in Cocoa - Printable Version

+- iDevGames Forums (
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Game Programming Fundamentals (/forum-7.html)
+--- Thread: Cursors in Cocoa (/thread-7625.html)

Cursors in Cocoa - ededed - Aug 8, 2002 01:38 PM

How do I set the cursor/mouse position in cocoa objC?

Please help me!
I am totally stuffed after checking the appKit framework.

Cursors in Cocoa - furballphat - Aug 8, 2002 01:59 PM

You can use the CGAssociateMouseAndMouseCursorPosition(boolean_t connected) method in CGRemoteOperation of the ApplicationServices framework to disconect the mouse from the cursor and CGGetLastMouseDelta( CGMouseDelta * deltaX, CGMouseDelta * deltaY ) of CGDirectDisplay to get the latest mouse deltas.

Cursors in Cocoa - ededed - Aug 9, 2002 12:01 PM
Should be the source code and the .pbproj and everything.

Thanks FurballPhat.

Cursors in Cocoa - Render - Aug 9, 2002 02:21 PM

Yahoo says "page not available"... Sad

Cursors in Cocoa - ededed - Aug 11, 2002 07:11 AM

Thanks for the warning, I have fixed it just go to:

and download it!