小编Fra*_*anz的帖子

WinAPI SetCursorPos 似乎无法在具有不同分辨率的多个显示器上正常工作

Im trying to adjust the mouse position to the center of a target window position. To do so, I precalculate the X and Y coordinates that leads to the center position. To perform the mouse move, I am using "SetCursorPos" method from the winapi. My issue is now that the function does not align the x value properly if the cursor is at a lower resolution display (Full HD) and the move has to be performed to a higher resolution …

c#

5
推荐指数
0
解决办法
826
查看次数

标签 统计

c# ×1