Returns the vertical position of the top left corner of the internal area (without border and title bar) of a window in relation to the top left corner of the screen.
// Vertical position of the internal area of the window named "WIN_EditCustomer"
ResVPos = WinInYPos(WIN_EditCustomer)
Syntax
<Result> = WinInYPos([<Window>])
<Result>: Integer
Vertical position or y-coordinate (in pixels) of the top left corner of the internal area of the 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 vertical position of the internal area of the current window is returned.