Procedure SetMouseYRange (Min, Max: Longint) ;
SetMouseYRange sets the minimum (Min) and maximum (Max) vertical coordinates in between which the mouse cursor can move.
While Min and Max are Longint parameters, only the lower 16 bits are used.
None.
SetMouseXRange, SetMouseWindow
For an example, see SetMouseXRange.