Edit

Share via


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
AppWinStyle

Fields

Name Value Description
Hide 0

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

NormalFocus 1

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

MinimizedFocus 2

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

MaximizedFocus 3

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

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.

MinimizedNoFocus 6

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

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