ShowGroupShowGroup*
*Contents  *Index  *Topic Contents
*Previous Topic: ReplaceItem
*Next Topic: Requesting Group Information

ShowGroup


ShowGroup(GroupName,ShowCommand[,CommonGroupFlag])

Instructs Program Manager to minimize, maximize, or restore the window of an existing group.

GroupName
Group window to be minimized, maximized, or restored.
ShowCommand
Action Program Manager is to perform on the group window. This parameter is an integer. It must have one of the following values:
1 Activate and display the group window. If the window is minimized or maximized, Windows restores it to its original size and position.
2 Activate the group window and display it as an icon.
3 Activate the group window and display it as a maximized window.
4 Display the group window in its most recent size and position. The window that is currently active remains active.
5 Activate the group window and display it in its current size and position.
6 Minimize the group window.
7 Display the group window as an icon. The currently active window remains active.
8 Display the group window in its current state. The currently active window remains active.
CommonGroupFlag
Specifies whether the group is a common group or a personal group. If this parameter is 1, the group being minimized, maximized, or restored is a common group; if it is 0, the group is a personal group. If no value is specified, this parameter defaults to 1 (common group). To minimize, maximize, or restore a common group, the user that is currently logged on must have administrative privileges. If this parameter is 1 but the user does not have administrative privileges, the command fails.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.