Cocoa mouse cursor application?

I have a cocoa application that has click access. I cannot figure out how to change the cursor when the user iterates over it. I want to do this so that the user knows that they can click on it. I know that this should be very simple, but I could not find anything through google or stackoverflow. Does anyone have any ideas?

+5
source share
2 answers

So not that?

Cocoa: change cursor when it is above NSButton

[yourButton addCursorRect: cursor [yourButton bounds]: [theCursorYouWant]];

(Quote from Mark)

+5
source

NSView NSCursor . , , , - , mouseEntered mouseExited , .

NSView NSCursor .

+3

All Articles