[RESOLVED] any way to prevent applications from moving your cursor?
title kind of says it all.. i'm playing a game and every time i start the game, it moves the cursor to the center of the primary monitor, and this has become annoying, because when i launch it, i'm always doing something else on the secondary monitor. since the game is using anti-cheating software, it has to be run with UAC.
Re: any way to prevent applications from moving your cursor?
Not sure if Auto Mouse Mover can do it or not.
Re: any way to prevent applications from moving your cursor?
had a look at the application, that wont be able to do it since it would require that i know where the cursor is when the game moves the cursor.. (this really can be very annoying when you're using the mouse)
Re: any way to prevent applications from moving your cursor?
What position do you want to mouse to stay at?
Re: any way to prevent applications from moving your cursor?
wherever i leave it at or use it at, while working on my other monitor. the result i hope for is one where the game or any other program wont be able to move my mouse cursor.
using other programs to move it back would require that i was psychic, and in my reality there is no such thing.
unless of course there is a way to detect (using code) that the mouse was moved by a program, that would solve my problem actually..
Re: any way to prevent applications from moving your cursor?
Quote:
Originally Posted by
Justa Lol
unless of course there is a way to detect (using code) that the mouse was moved by a program, that would solve my problem actually..
You could try detecting when the cursor changes position (by polling using GetCursorPos) after your program shells the game. Then when you've detected the change, you can then set the cursor back to its former position through SetCursorPos.
Re: any way to prevent applications from moving your cursor?
omg why did i not think of that. i was on to mouse_event earlier today but just didn't think much of it since what i intended to do was completely block the game from using it. thanks.
i'll mark this topic as resolved for now.