cocoansbuttonmouse-cursor

Cocoa: change cursor when it's over an NSButton


How can I change the cursor when it's over an NSButton?


Solution

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