Original Post
I''m trying to restrict mouse movement and I''m having a problem.
I have a dialog box and in the callback for it I have:
case WM_MOUSEMOVE: SetCursorPos(450,450); return 0;So it should just keep the mouse stuck in one place, which it mostly does. The problem comes in when I hold down a mouse button and start swirling the mouse around. I can get out of the dialog box that way. Do you know why this happens? or how I could fix it?