Returns the horizontal position of the upper-left corner of a window in relation to the upper-left corner of the screen.
: The WinOutXPos
function is equivalent to the X
//Horizontal position of the "WIN_EditCustomer" window in relation to the screen
ResHPos = WinOutXPos(WIN_EditCustomer)
<Result> = WinOutXPos([<Window>])
Returns the horizontal position or x-coordinate (in pixels) of the top left corner of a window in relation to the top left corner of the screen.
<Window>: Optional window name
Name or alias of the window to be used. If this parameter is not specified or if it corresponds to an empty string (""), the horizontal position of the current window is returned.