Please enable JavaScript to view this site.

ESL Documentation

ESLLIB Subroutine

Obtain the mouse position appropriate to the Region's Type.

EslGetMouseCoord(X_IV, Y_IV)

X_IV

The integer assigned to receive the horizontal position of the mouse pointer.

Y_IV

The integer assigned to receive the vertical position of the mouse pointer.

Description

This routine mimics the built-in functions xcoord and ycoord with the advantage that the routine can be called at any point, not just in response to an object.

Be sure to include esllib.inc before using this function.

See Also

xcoord and ycoord Response Inquiry built-in functions.