AppWinStyle Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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 |
NormalFocus | 1 | Window has focus and is restored to its original size and position. This member is equivalent to the Visual Basic constant |
MinimizedFocus | 2 | Window is displayed as an icon with focus. This member is equivalent to the Visual Basic constant |
MaximizedFocus | 3 | Window is maximized with focus. This member is equivalent to the Visual Basic constant |
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 |
MinimizedNoFocus | 6 | Window is displayed as an icon. The currently active window remains active. This member is equivalent to the Visual Basic constant |
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.
Product | Versions |
---|---|
.NET | Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: