WINDOWSETcaption
mode
Sets the "mode" (for example, hidden, visible, etc.) for a window whose title matches caption
.
This command is designed for experts, you may lose control of FMSLogo if you are not careful, so save your work frequently.
The mode
input must be an integer.
The following table details acceptable values and their meanings.
Mode | Meaning |
---|---|
0 | Hides the window and activates another window. |
1 | Activates and displays a window. If the window is minimized or maximized, it is restored it to its original size and position. An application should specify this flag when displaying the window for the first time. |
2 | Activates the window and displays it as a minimized window. |
3 | Activates the window and displays it as a maximized window. |
4 | Displays the window as a minimized window. The active window remains active. |
5 | Activates the window and displays it in its current size and position. |
6 | Minimizes the specified window and activates the next top-level window in the Z order. |
7 | Minimizes the specified window. The active window remains active. |
8 | Displays the window in its current state. The active window remains active. |
9 | Activates and displays the window. If the window is minimized or maximized, it is restored it to its original size and position. An application should specify this flag when restoring a minimized window. |
TO HIDEANDRESTORE
CLEARSCREEN
RIGHT 90
LABEL [Back in 2 seconds]
WAIT 120
WINDOWSET "FMSLogo 0 ; hide
WAIT 120
WINDOWSET "FMSLogo 1 ; restore
END
HIDEANDRESTORE