Function:
ClipCursor(lpRect)
|
Description:
Confines the cursor to a rectangular
area on the screen.
|
Parameters:
lpRect: Points to the RECT structure that contains the
screen coordinates of the upper-left and lower-right corners of the confining
rectangle. If this parameter is NULL, the cursor is free to move anywhere
on the screen.
|
Returns:
Returns 1 if successful, or 0 if an error occurred.
|
Example: 
Click on the calc icon to view a sample of the ClipCursor
function.
|