1
1
Fork 0
mirror of https://github.com/DualBrain/QB64.git synced 2023-11-19 13:10:13 +00:00
QB64-website/wiki/_SCREENX.md
2022-12-24 21:14:48 -06:00

852 B

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