loki0407 Posted October 3, 2018 Share Posted October 3, 2018 Does WinApi call for Mouse movement use twips instead of pixels? I was writing a script that part of it requires me to use calculations based on pixels and part of it requires me to move the mouse using the WinAPI call not the mousemove command. If I plug in the correct amount of pixels to move using WinAPI it will move further than expected. I am assuming that its not using pixels. Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted October 3, 2018 Share Posted October 3, 2018 @loki0407 Welcome to the AutoIt forum Directly from Microsoft Docs about MoveToEx function:Parameters: hdc Handle to a device context. x Specifies the x-coordinate, in logical units, of the new position, in logical units. y Specifies the y-coordinate, in logical units, of the new position, in logical units. Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now