Skip to content

_SCREENX

Samuel Gomes edited this page Nov 8, 2022 · 1 revision

The _SCREENX function returns the current column pixel coordinate of the program window on the desktop.

Syntax

positionX& = _SCREENX

Description

Example(s)

Clicks and opens program window header menu:

_SCREENMOVE _MIDDLE
_SCREENCLICK _SCREENX + 10, _SCREENY + 10
PRINT "Hello window!"

See Also

Clone this wiki locally