AppWinStyle 枚举

定义

指示在调用 Shell 函数时用于被调用程序的窗口样式。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
继承
AppWinStyle

字段

Hide 0

窗口被隐藏,且焦点传递至隐藏的窗口。Window is hidden and focus is passed to the hidden window. 此成员等效于 Visual Basic 常量 vbHideThis member is equivalent to the Visual Basic constant vbHide.

MaximizedFocus 3

窗口最大化,且具有焦点。Window is maximized with focus. 此成员等效于 Visual Basic 常量 vbMaximizedFocusThis member is equivalent to the Visual Basic constant vbMaximizedFocus.

MinimizedFocus 2

窗口显示为一个具有焦点的图标。Window is displayed as an icon with focus. 此成员等效于 Visual Basic 常量 vbMinimizedFocusThis member is equivalent to the Visual Basic constant vbMinimizedFocus.

MinimizedNoFocus 6

窗口显示为一个图标。Window is displayed as an icon. 当前活动的窗口仍保持活动状态。The currently active window remains active. 此成员等效于 Visual Basic 常量 vbMinimizedNoFocusThis member is equivalent to the Visual Basic constant vbMinimizedNoFocus.

NormalFocus 1

窗口具有焦点,且还原至其原始大小和位置。Window has focus and is restored to its original size and position. 此成员等效于 Visual Basic 常量 vbNormalFocusThis member is equivalent to the Visual Basic constant vbNormalFocus.

NormalNoFocus 4

窗口还原至其最近的大小和位置。Window is restored to its most recent size and position. 当前活动的窗口仍保持活动状态。The currently active window remains active. 此成员等效于 Visual Basic 常量 vbNormalNoFocusThis member is equivalent to the Visual Basic constant vbNormalNoFocus.

注解

发出Shell命令时, 可以在代码中使用以下枚举成员来代替实际值。When you issue Shell commands, you can use the following enumeration members in your code in place of the actual values.

Style 参数AppWinStyle采用枚举成员。The Style argument takes the AppWinStyle enumeration members.

适用于

另请参阅