This routine moves the mouse cursor to the specified position on the screen.
Specification
01 mouse-handle PIC X(4). 01 mouse-cursor-position. 02 line-position PIC 9(4) BINARY. 02 column-position PIC 9(4) BINARY. 01 status-code PIC S9(4) COMP-5.
CALL "CBL_SET_MOUSE_POSITION" USING mouse-handle mouse-cursor-position RETURNING status-code.
Interface
Specifies the mouse-handle returned by CBL_INIT_MOUSE.
Specifies the numeric value indicating the line position to which the mouse cursor is to be moved. The top-left corner of the screen is assumed to be the origin (where the line and column numbers are 0).
Specifies the numeric value indicating the column position to which the mouse cursor is to be moved. The top-left corner of the screen is assumed to be the origin (where the line and column numbers are 0).
Return code
The return code is set in the status-code specified in the RETURNING clause.
0: Successful
Other than 0: Failure