Original Post
Hi!
I''m new to this forum but what I''ve seen so far has been VERY helpful... So I was wondering if anyone knew the answer to my problem. In my little engine i have a routine set up to capture mouse movement and clicks. Here''s the code.
case WM_MOUSEMOVE:
mousex = LOWORD (lParam) - 400;
mousey = HIWORD (lParam) - 300;
mouseclk = wParam;
//SetCursorPos (400, 300); break;
This works fine but... If I un-comment the SetCursor my program crashes! I want to set up a Quake II/III style console so I am trying to get the mouse to recenter it''s self whenever it is moved (by the way, this program runs in 800x600). I just don''t know how to get the mouse to center without SetCursor! Can anyone help me???
Blue*Omega :)