Well, the subject explains it all, but for those of us who have had a little too much to drink, here's the story:

I'm making a little 'joke' app and I want the cursor to be confined to my app's window so that he/she can't go 'do stuff'

I did make my own little timer thing with GetCursor and SetCursor, but it was a little messy, and since Windows in in abundance of useless functions, I'm sure there's the one I want.

Thank you for the help I am sure you are all going to give me.

Good bye, and Good night!