How can I change the cursor when it's over an NSButton?
相关问题
- NSOutlineView drag line stuck + blue border
- Why is Cursor.requery() marked “deprecated”?
- iphone sdk see size of local file (one created
- How can you detect the connection and disconnectio
- QuickLook Plugin Failing with sandboxing error
相关文章
- How can I vertically align my status bar item text
- Converting (u)int64_t to NSNumbers
- “getter” keyword in @property declaration in Objec
- NSMenuItem KeyEquivalent “ ”(space) bug
- Android Edit Text Cursor Doesn't Appear
- Detect if cursor is hidden on Mac OS X
- NSNumberFormatter doesn't allow typing decimal
- Is subclassing NSNotification the right route if I
You should subclass NSButton first, then add the code below.
Now you can set cursor as you like.
Note: add
cursor
as a property of your subclass, like this:Have the button add a cursor rect.