forked from QB64-Phoenix-Edition/QB64pe
-
Notifications
You must be signed in to change notification settings - Fork 0
_SCREENY
Samuel Gomes edited this page Nov 8, 2022
·
1 revision
The _SCREENY function returns the current row pixel coordinate of the program window on the desktop.
positionY& = _SCREENY
- Function returns the current program window's upper left corner row position on the desktop.
- Use _DESKTOPWIDTH and _DESKTOPHEIGHT to find the current user's 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!"