Microsoft KB Archive/19954

Function 4–Set Mouse Cursor Position PSS ID Number: Q19954 Article last modified on 05-27-1993 PSS database name: H_Mouse

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

MS-DOS

Summary:

You can use mouse function 4, Set Mouse Cursor Position to control the mouse cursor position. The following function can be used:

Inputs:

AX = 4 CX = new cursor position (horizontal) DX = new cursor position (vertical)

Outputs: none

More Information:

Function 4 moves the cursor to the new coordinates. These coordinates must be within the ranges that the virtual screen allows (ranges permitted on the current display adapter). If the screen is not in high resolution mode, the specified position is rounded to the nearest values permitted.

Additional reference words: 7.00 7.04 7.05 8.00 8.10 8.20 9.00

Copyright Microsoft Corporation 1993.