If you want to close the display instead of minimizing it, use the CloseDisplay() command instead.
Starting with Hollywood 8.0, there is an optional argument named
which is only supported on AmigaOS and compatible systems. If you set it
True, the display won't be minimized, but instead it will be hidden by
moving it all the way to the bottom of the current screen's window stack,
i.e. all other windows will appear in front of it then.
HideDisplay() Wait(100) ShowDisplay()This code hides the display, waits two seconds, and pops up the display again.