WINDOWSET

Synopsis
WINDOWSET caption mode
Description

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.

ModeMeaning
0Hides the window and activates another window.
1Activates 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.
2Activates the window and displays it as a minimized window.
3Activates the window and displays it as a maximized window.
4Displays the window as a minimized window. The active window remains active.
5Activates the window and displays it in its current size and position.
6Minimizes the specified window and activates the next top-level window in the Z order.
7Minimizes the specified window. The active window remains active.
8Displays the window in its current state. The active window remains active.
9Activates 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.

Example
TO HIDEANDRESTORE
  CLEARSCREEN
  RIGHT 90
  LABEL [Back in 2 seconds]
  WAIT 120
  WINDOWSET "FMSLogo 0 ; hide
  WAIT 120
  WINDOWSET "FMSLogo 1 ; restore
END

HIDEANDRESTORE

SourceForge.net Logo