Microsoft KB Archive/19857

Function 16 - Conditional Off PSS ID Number: Q19857 Article last modified on 05-14-1993 PSS database name: H_Mouse

1.x 2.x 3.x 4.x 5.x 6.x 7.x 8.x 9.00

MS-DOS

Summary:

The following mouse function will sense whether the mouse cursor is in a screen area that you wish to update:

FUNCTION 16: - CONDITIONAL OFF Inputs: AX = 16 CX = Upper x screen coordinate DX = Upper y screen coordinate SI = Lower x screen coordinate DI = Lower y screen coordinate Outputs: None

Function 16 defines a region of the screen for updating (refer to Function 2 - Hide Cursor). If the mouse cursor is in the defined region, or moves into it, the mouse cursor is hidden. Function 1 must be called to show the cursor again. Normally, a program defines the update area according to this function, updates the screen data, and then issues a Show Cursor function (Function 1).

Additional reference words: 7.00 7.04 7.05 8.00 8.10 8.20 9.00

Copyright Microsoft Corporation 1993.