SCREENY
From QB64 Wiki
The _SCREENY function returns the current program window's upper left corner row position on the desktop.
- positionX& = _SCREENX
- Returns the current row pixel coordinate of the program window on the desktop.
- Use _SCREENIMAGE to find the current user's Windows desktop resolution to adjust the position with _SCREENMOVE.
See also: