Skip to content
Cory Smith edited this page Sep 1, 2022 · 5 revisions

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