Cocoa:当它超过NSButton时改变光标 [英] Cocoa: change cursor when it's over an NSButton
本文介绍了Cocoa:当它超过NSButton时改变光标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当光标在NSButton上时如何更改光标?
How can I change the cursor when it's over an NSButton?
推荐答案
[yourButton addCursorRect:[yourButton bounds] cursor:[theCursorYouWant]];
这篇关于Cocoa:当它超过NSButton时改变光标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文