This is the key line. Now let's think, where this strange "-32000" numbers may araise at all. I'm sure 99.9% that the numbers are received from a Windows API function call, such as GetWindowRect (or similar) in minimized window state (IsIconic(Handle) = True).
Simple experiment proves it:
procedure TForm1.Timer1Timer(Sender: TObject);
var
wr: TRect;
begin
if WindowState = TWindowState.wsMinimized then
begin
GetWindowRect(Handle, wr);
OutputDebugString(PChar(wr.Left.ToString + ', ' + wr.Top.ToString));
end;
end;
So:
With "-32000" left and top values the window is not, of course, within the area of your monitor 1, but this monitor becomes the closest one to the window.