cobol1.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CBL_GET_MOUSE_POSITION (↑ Mouse Routines)
 Key Details                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Routine:      CBL_GET_MOUSE_POSITION
 
  Function:     Returns the screen position of the mouse pointer.
 
  Syntax:       CALL "CBL_GET_MOUSE_POSITION" USING     mouse-handle
                                                        mouse-position
                                              RETURNING status-code
 
  Parameters:   mouse-handle           PIC X(4) COMP-X.
                mouse-position         Group item defined as:
                  mouse-row              PIC X(2) COMP-X.
                  mouse-col              PIC X(2) COMP-X.
                status-code            See Key
                                    -♦-