Vert Posted October 7, 2008 Share Posted October 7, 2008 Hello, I am trying to simulate a few mouse movements to a windowed game. Is there a way to use MouseMove() with coordinates relative to a specific window, rather than the entire screen? I'm assuming it will require some math, so could someone please explain it to me? Link to comment Share on other sites More sharing options...
Malkey Posted October 7, 2008 Share Posted October 7, 2008 (edited) Hello,I am trying to simulate a few mouse movements to a windowed game. Is there a way to use MouseMove() with coordinates relative to a specific window, rather than the entire screen? I'm assuming it will require some math, so could someone please explain it to me?Have a look at _WinAPI_ScreenToClient in help file.and/or MouseCoordMode Edited October 7, 2008 by Malkey 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