I display some text with
text $out, 800, 900;
The resulting window reaches above the top of the current screen, while below the window there is still some space left.
Ahh: this happens only if XY is *not* maximized, i.e. the center of XY is above the center of the screen!
So, verified: the size of the text-window is limited to the size of the physical screen(good!), but it's center is aligned with the center of XY. If the text-window is big, and XY is above or below the center of the screen, part of the text-window is above or below the physical screen.
I think this is not OK
To be complete, output of Screen;
Virtual Screen:
X = 0
Y = -576
Width = 5760
Height = 1600
Screen.Width = 1280
Screen.Height = 1024
GetCursorPos = 563, 315
Number of monitors = 3
Work Area: (0, 0) - (1280, 1024)
Main form: (-2, 0) - (1278, 810)
Screen DPI: 96 (100%)
Screen Color Depth: 32
Just noticed: Main form's height is 810 - that's why the problem starts if text-window's height is bigger
XYplorer Beta Club