AppWinStyle AppWinStyle AppWinStyle AppWinStyle Enum

Definition

Indicates the window style to use for the invoked program when calling the Shell function.

public enum class AppWinStyle
public enum AppWinStyle
type AppWinStyle = 
Public Enum AppWinStyle
Inheritance

Fields

Hide Hide Hide Hide 0

Window is hidden and focus is passed to the hidden window. This member is equivalent to the Visual Basic constant vbHide.

MaximizedFocus MaximizedFocus MaximizedFocus MaximizedFocus 3

Window is maximized with focus. This member is equivalent to the Visual Basic constant vbMaximizedFocus.

MinimizedFocus MinimizedFocus MinimizedFocus MinimizedFocus 2

Window is displayed as an icon with focus. This member is equivalent to the Visual Basic constant vbMinimizedFocus.

MinimizedNoFocus MinimizedNoFocus MinimizedNoFocus MinimizedNoFocus 6

Window is displayed as an icon. The currently active window remains active. This member is equivalent to the Visual Basic constant vbMinimizedNoFocus.

NormalFocus NormalFocus NormalFocus NormalFocus 1

Window has focus and is restored to its original size and position. This member is equivalent to the Visual Basic constant vbNormalFocus.

NormalNoFocus NormalNoFocus NormalNoFocus NormalNoFocus 4

Window is restored to its most recent size and position. The currently active window remains active. This member is equivalent to the Visual Basic constant vbNormalNoFocus.

Remarks

When you issue Shell commands, you can use the following enumeration members in your code in place of the actual values.

The Style argument takes the AppWinStyle enumeration members.

Applies to

See also