Constraining cursor to a window
Thant Tessman
thant at horus.esd.sgi.com
Thu Jul 19 02:27:35 AEST 1990
In article <156 at cutmcvax.OZ>, flint at cutmcvax.OZ (Danny Baldoni) writes:
>
> I'm currently developing a project using multiple windows. Combined, these
> windows cover the entire screen. What I'd like to know is whether or not
> there's any way I can restrict the movement of the cursor so that it can
> NEVER (unless I release it) move outside the boundaries of one of those
> windows.
>
Yes, you can do a 'setvaluator' on MOUSEX and MOUSEY to restrict it
to your window.
thant
More information about the Comp.sys.sgi
mailing list