How would I go about moving the mouse cursor without moving the mouse; i.e. When a user click on the command button 2 random numbers are generated, X and Y. Then the mouse cursor would move to the generated random numbers. therefore the mouse has not been moved but the cursor moves. I would appreciate some sample code as I am new and the books I have don't help me do this.