It reads the mouse pos and yet when I use ptMouseNew in SetCursorPos(), it doesn't work. Why not? My only guess is that the var POINT and the var int may not be compadable. All though my Compiler (Dev-C++) doesn't catch any errors.
Code:ptMouseNew.x = GET_X_LPARAM(lParam); ptMouseNew.y = GET_Y_LPARAM(lParam); SetCursorPos(ptMouseNew.x, ptMouseNew.y);