PDA

View Full Version : Cursors in Cocoa


ededed
2002.08.08, 04:38 PM
:confused:
How do I set the cursor/mouse position in cocoa objC?

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

furballphat
2002.08.08, 04: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.

ededed
2002.08.09, 03:01 PM
http://www.geocities.com/ed72678954
Should be the source code and the .pbproj and everything.

Thanks FurballPhat.

Render
2002.08.09, 05:21 PM
Yahoo says "page not available"... :(

ededed
2002.08.11, 10:11 AM
Thanks for the warning, I have fixed it just go to:
http://www.geocities.com/ed72678954

and download it!