全球隐藏鼠标光标在Cocoa / Carbon? [英] Globally hide mouse cursor in Cocoa/Carbon?

查看:335
本文介绍了全球隐藏鼠标光标在Cocoa / Carbon?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法全局隐藏Cocoa(或Carbon)中所有应用程序的鼠标光标?

Is there a way to globally hide the mouse cursor for all apps in Cocoa (or Carbon)? Or at least replace it with something else?

编辑:感谢输入家伙,但结果是丹尼尔Jalkut发现解决方案前一段时间:) http://lists.apple.com/archives/carbon-dev/2006/Jan /msg00555.html

Thanks for the input guys, but turns out Daniel Jalkut found the solution a while ago :) http://lists.apple.com/archives/carbon-dev/2006/Jan/msg00555.html

推荐答案

您正在查找 CGDisplayHideCursor ,它是Quartz Display的一部分服务API。

You are looking for CGDisplayHideCursor, which is part of the Quartz Display Services API.

这篇关于全球隐藏鼠标光标在Cocoa / Carbon?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆