The syntax for the ShowGroup command has this form:
ShowGroup(GroupName,ShowCommand)
The ShowGroup command instructs Program Manager to minimize, maximize, or restore the window of an existing group.
Following are the parameters for this command:
GroupName
Identifies the group window to be minimized, maximized, or restored.
ShowCommand
Specifies the action that Program Manager is to perform on the group window. This parameter is an integer. It must have one of the following values:
Value | Meaning |
1 | Activates and displays the group window. If the window is minimized or maximized, Windows restores it to its original size and position. |
2 | Activates the group window and displays it as an icon. |
3 | Activates the group window and displays it as a maximized window. |
4 | Displays the group window in its most recent size and position. The window that is currently active remains active. |
5 | Activates the group window and displays it in its current size and position. |
6 | Minimizes the group window. |
7 | Displays the group window as an icon. The window that is currently active remains active. |
8 | Displays the group window in its current state. The window that is currently active remains active. |