status.i4.v = INWIN(wid.i2.r)
This routine determines whether or not the TV cursor was in
the window specified by WID during the last INTYPE call. WID
is the window identifier returned from WMAKE and MENU calls.
INWIN returns 0 if the cursor was not in the window, 2 if
it was on the window border, or 1 if it was within the
window. A value of -1 is returned if the cursor was within
the window, but the window was occluded.
This function requires the following include files: