Prevent Mouse Movement.
-
Hi, I'm trying to separate the mouse cursor movement from the mouse movement... The problem is, when using a touchscreen monitor, I can capture the touch events using RawInput, and I want to process those events internally, without the mouse cursor moving. However windows sees the touch event and moves the cursor. So, is there any way of separating mouse events from the on-screen cursor movement, such that the on-screen cursors position is controlled purely by my application. Thanks... Simon
-
Hi, I'm trying to separate the mouse cursor movement from the mouse movement... The problem is, when using a touchscreen monitor, I can capture the touch events using RawInput, and I want to process those events internally, without the mouse cursor moving. However windows sees the touch event and moves the cursor. So, is there any way of separating mouse events from the on-screen cursor movement, such that the on-screen cursors position is controlled purely by my application. Thanks... Simon
U can use the HOOK fundamentals of the windows OS just track the mouse_events Get the mouse coordinate sotre it in some variable in the application the u can reset the mouse cursor to its original coordinates Its a long time i have used hook so u can just go throught some projects on this site , and check that :cool: Vikas Amin Embin Technology Bombay vikas.amin@embin.com
-
U can use the HOOK fundamentals of the windows OS just track the mouse_events Get the mouse coordinate sotre it in some variable in the application the u can reset the mouse cursor to its original coordinates Its a long time i have used hook so u can just go throught some projects on this site , and check that :cool: Vikas Amin Embin Technology Bombay vikas.amin@embin.com
Thanks, Unfortunatly, this doesn't prevent windows moving the cursor, so you still get the cursor jumping to the unwanted position then going to the wanted position... :doh: