AppWinStyle Enumeration

AppWinStyle Enumeration

 

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

Namespace:   Microsoft.VisualBasic
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public enum AppWinStyle

Member nameDescription
Hide

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

MaximizedFocus

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

MinimizedFocus

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

MinimizedNoFocus

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

NormalFocus

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

NormalNoFocus

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.

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.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft