读书人

dinput 接管了鼠标后鼠标图形显示有

发布时间: 2012-11-10 10:48:51 作者: rapoo

dinput 接管了鼠标后,鼠标图形显示问题.
太奇怪了,dinput 接管了鼠标后,原鼠标图形(Windows自带的)不能显示了。
(注:程序中我没用隐藏鼠标的函数)
怎样才能继续用系统的鼠标图形?

因为我在没有选定精灵的情况下,不想使用自己画的图形鼠标。谢谢。

[解决办法]
SetCooperativeLevel 不能为独占,需要为DISCL_NONEXCLUSIVE
[解决办法]
楼主可以查阅msdn

Establishes the cooperative level for this instance of the device. The cooperative level determines how this instance of the device interacts with other instances of the device and the rest of the system.

读书人网 >网络游戏

热点推荐