开发者

How to hide the mouse cursor?

开发者 https://www.devze.com 2023-03-13 12:24 出处:网络
How do you make the mou开发者_JAVA技巧se cursor disappear in Objective-C? (just the visible mouse cursor, the mouse still needs to work)[NSCursor hide];

How do you make the mou开发者_JAVA技巧se cursor disappear in Objective-C? (just the visible mouse cursor, the mouse still needs to work)


[NSCursor hide];

then to show the cursor again:

[NSCursor unhide];


In Swift

NSCursor.hide()
NSCursor.unhide()
0

精彩评论

暂无评论...
验证码 换一张
取 消