I'd prefer the ClipCursor way...
Code:
#include <acknex.h>
#include <windows.h>

void main()
{
mouse_pointer = 0;
RECT* rect;
GetWindowRect(hWnd,rect);
ClipCursor(rect);
}



Last edited by DJBMASTER; 10/23/09 02:06.