Hello,
I'm working on a OpenGL application and I'm having difficulties with changing mouse position(mouse locking).
Application is not in the fullscreen mode, when SmartMouse is On or on Auto it doesn't let me lock the mouse, if I turn SmartMosue Off it works as expected.
I'm using SetCursorPos function, here's C code:
Thanks.
I'm working on a OpenGL application and I'm having difficulties with changing mouse position(mouse locking).
Application is not in the fullscreen mode, when SmartMouse is On or on Auto it doesn't let me lock the mouse, if I turn SmartMosue Off it works as expected.
I'm using SetCursorPos function, here's C code:
Is there any way to lock position of the mouse when SmartMouse is on?POINT Mpt;
Mpt.x = 200; Mpt.y = 200;
ClientToScreen(hWnd, &Mpt);
SetCursorPos(Mpt.x, Mpt.y);
Thanks.
Last edited: