_SCREENY - QB64 Wiki

_SCREENY

From QB64 Wiki

Jump to: navigation, search

The _SCREENY function returns the current row pixel coordinate of the program window on the desktop.


Syntax:

positionY& = _SCREENY


  • Function returns the current program window's upper left corner row position on the desktop.
  • Use _SCREENIMAGE to find the current user's Windows desktop resolution to adjust the position with _SCREENMOVE.


Example: Clicks and opens program window header menu:

_SCREENMOVE _MIDDLE _SCREENCLICK _SCREENX + 10, _SCREENY + 10 PRINT "Hello window!"


See also:



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in
Toolbox
  • What links here
  • Related changes
  • Special pages
  • Printable version