Page 1 of 1

[11 Mar 2010] Interesting Bug in Win32 Executables when Display is First Hidden

Posted: Sat Jun 13, 2020 5:32 pm
by PEB
Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 11 Mar 2010 00:13:03 -0000

The following code works correctly on OS4.1; but if I compile it for Win32, there is a big problem---the requester appears BEHIND the main window. This only happens when the display is initially hidden and when run on Windows (at least with Windows 7).

Code: Select all

@DISPLAY {Hidden=True}
OpenDisplay(1)
WaitLeftMouse()
SystemRequest("Test Requester", "This is only a test.", "OK")
End()

[13 Mar 2010] Re: Interesting Bug in Win32 Executables when Display is First Hidden

Posted: Sat Jun 13, 2020 5:32 pm
by airsoftsoftwair
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sat, 13 Mar 2010 00:35:43 +0100
The following code works correctly on OS4.1; but if I compile it for Win32, there is a big problem---the requester appears BEHIND the main window. This only happens when the display is initially hidden and when run on Windows (at least with Windows 7).
Happens on XP, too. I'll try to fix it. Thanks for the report!