开发者

ctypes.windll.user32.GetCursorInfo() - how can I manage this to work? [Python]

开发者 https://www.devze.com 2023-01-14 05:15 出处:网络
I have to get the information about the current mouse cursor from windows but I\'m not managing to work t开发者_如何学Gohis command...

I have to get the information about the current mouse cursor from windows but I'm not managing to work t开发者_如何学Gohis command...

what should I do? Can someone post one example?


What information are you trying to get out of the GetCursorInfo() call? It would be easier to use the win32 extensions (especially if you just want cursor position).

>>> import win32gui
>>> win32gui.GetCursorInfo()
(1, 65555, (717, 412))
0

精彩评论

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