Procedure SetMouseWindow (xmin,ymin,xmax,ymax: Longint) ;
SetMousWindow defines a rectangle on screen with top-left corner at (xmin,ymin) and botto-right corner at (xmax,ymax), out of which the mouse cursor can't move.
This procedure is simply a wrapper for the SetMouseXRange and SetMouseYRange procedures.
While xmin, ymin, xmax and ymax are Longint parameters, only the lower 16 bits are used.
None.
SetMouseXRange, SetMouseYRange
For an example, see SetMouseXRange.