CBL_GET_MOUSE_POSITION

Returns the screen position of the mouse pointer.

Syntax:
call "CBL_GET_MOUSE_POSITION" using     mouse-handle
                                        mouse-position
                              returning status-code
Parameters:
Using call prototype (see Library Routines - Key) Picture (32-bit systems)
mouse-handle cblt-x4-compx pic x(4) comp-x.
mouse-position Group predefined as cblt-mouse-pos containing: Group containing:
  cblte-mpos-row   cblt-x2-compx   pic x(2) comp-x.
  cblte-mpos-col   cblt-x2-compx   pic x(2) comp-x.
status-code See Library Routines - Key
On Entry:
mouse-handle Mouse identifier, obtained by earlier call to CBL_INIT_MOUSE.
On Exit:
mouse-position The screen position of the mouse pointer.
Comments:

The CBL_ mouse routines do not work with the x"AF" mouse routines.

See Also: