开发者

In Xul, within a transparent window, how do I hide the mouse cursor?

I have a Xul window that is transparent, and I need to hide the mouse cursor after 1 second. Applying cursor: none will not work, the mouse cursor still shows up in the transparent part of the window.

Any idea how to 开发者_如何学JAVAget rid of the mouse cursor?


Your OS generally won't even bother to send mouse events to a completely transparent (area of your) window; as far as it's concerned, your window isn't there. However if your OS allows it, a nearly transparent window might work.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜