next up previous contents index
Next: SetMouseXRange Up: Functions and procedures Previous: SetMouseSpeed

SetMouseWindow

   

Declaration:

Procedure SetMouseWindow (xmin,ymin,xmax,ymax: Longint) ;

Description:

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.

Errors:

None.

See also:

SetMouseXRange, SetMouseYRange

For an example, see SetMouseXRange.



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998