开发者

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

开发者 https://www.devze.com 2023-02-10 06:12 出处:网络
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.

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

精彩评论

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