AppWinStyle AppWinStyle AppWinStyle AppWinStyle Enum

定义

指示在调用 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
继承

字段

Hide Hide Hide 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 MaximizedFocus MaximizedFocus MaximizedFocus 3

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

MinimizedFocus MinimizedFocus MinimizedFocus MinimizedFocus 2

窗口显示为一个具有焦点的图标。Window is displayed as an icon with focus. 此成员等效于 Visual Basic 常量 vbMinimizedFocusThis 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. 此成员等效于 Visual Basic 常量 vbMinimizedNoFocusThis 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. 此成员等效于 Visual Basic 常量 vbNormalFocusThis 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. 此成员等效于 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.

适用于

另请参阅