I have multiple monitors.
I use MoveWindow to place a window on the top left corner:
Call MoveWindow(GetForegroundWindow(), 0, 0, somewidth, someheight, CInt(True))
It appears like that:
One can clearly see the gap on the left side.
To test what's going on, I move the window manually to the top left corner and call GetWindowRect.
Now it says that the window's Left is -8.
At first I thought that my screen was perhaps shifted, but all windows appear perfectly in that monitor and without any gap if maximized.
What might be going on here?
Thank you!