The [_SCREENX](_SCREENX) function returns the current column pixel coordinate of the program window on the desktop. ## Syntax > positionX& = [_SCREENX](_SCREENX) ## Description * Function returns the current program window's upper left corner column position on the desktop. * Use [_DESKTOPWIDTH](_DESKTOPWIDTH) and [_DESKTOPHEIGHT](_DESKTOPHEIGHT) to find the current Windows desktop resolution to adjust the position with [_SCREENMOVE](_SCREENMOVE). * [Keywords currently not supported](Keywords-currently-not-supported-by-QB64) ## Example(s) Clicks and opens program window header menu: ```vb _SCREENMOVE _MIDDLE _SCREENCLICK _SCREENX + 10, _SCREENY + 10 PRINT "Hello window!" ``` ## See Also * [_SCREENY](_SCREENY) * [_SCREENIMAGE](_SCREENIMAGE) * [_SCREENCLICK](_SCREENCLICK) * [_SCREENPRINT](_SCREENPRINT) * [_SCREENMOVE](_SCREENMOVE)