Hi,

I have big problems!! I need to use ClipCursor() in my program, To allow me to lock the mouse within my client area. I wrote this code:

RECT rc;
rc.top = 10;
rc.left = 10;
rc.right = 200;
rc.bottom = 200;

ClipCursor(&rc);

And it didnt work, and i thought it should, so i tested it on my old win95 pc and it worked. But it dosnt work with win XP!!! Is there another fucntion or somthing that i can use to lock the mouse? Or another way to get around this.

Thanks in advance.
TNT