Table of Contents

Enum WindowShowCommand

Namespace
Microsoft.WindowsAPICodePack.Shell
Assembly
Microsoft.WindowsAPICodePack.Shell.dll

Flags controlling the appearance of a window

public enum WindowShowCommand

Fields

Default = 10

Sets the show state based on the initial value specified when the process was created.

ForceMinimize = 11

Minimizes a window, even if the thread owning the window is not responding. Use this only to minimize windows from a different thread.

Hide = 0

Hides the window and activates another window.

Maximized = 3

Maximizes the window.

Minimize = 6

Minimizes the window and activates the next top-level window.

Minimized = 2

Minimizes the window.

Normal = 1

Activates and displays the window (including restoring it to its original size and position).

Restore = 9

Activates and displays the window, restoring it to its original size and position.

Show = 5

Activates the window and displays it in its current size and position.

ShowMinimizedNoActivate = 7

Minimizes the window and does not activate it.

ShowNA = 8

Similar to Normal, except that the window is not activated.

ShowNoActivate = 4

Similar to Normal, except that the window is not activated.