forked from Galleondragon/qb64
-
Notifications
You must be signed in to change notification settings - Fork 24
_SCREENX
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.
positionX& = _SCREENX
- Function returns the current program window's upper left corner column position on the desktop.
- Use _DESKTOPWIDTH and _DESKTOPHEIGHT to find the current Windows desktop resolution to adjust the position with _SCREENMOVE.
- Keywords currently not supported
Clicks and opens program window header menu:
_SCREENMOVE _MIDDLE
_SCREENCLICK _SCREENX + 10, _SCREENY + 10
PRINT "Hello window!"