-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vcl.Mouse.CursorPos() #112
Comments
测试没有问题,如果你觉得有问题而且是windows,可以直接调用winapi |
我知道什么问题了,是DPI的影响,我build后的exe选择禁用高DPI的缩放就可以了。请问在代码中我如何处理? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我在windows10下,通过上面的函数获取坐标,得到的坐标不准确。我的分辨率是1920*1080,但即使我把鼠标拖动到屏幕最右边,显示的坐标X的值只有1500。我用微信截图工具得到的坐标是正确的1920
The text was updated successfully, but these errors were encountered: