开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜