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
- 继承
字段
| Hide | 0 | 窗口被隐藏,且焦点传递至隐藏的窗口。Window is hidden and focus is passed to the hidden window. 此成员等效于 Visual Basic 常量 |
| MaximizedFocus | 3 | 窗口最大化,且具有焦点。Window is maximized with focus. 此成员等效于 Visual Basic 常量 |
| MinimizedFocus | 2 | 窗口显示为一个具有焦点的图标。Window is displayed as an icon with focus. 此成员等效于 Visual Basic 常量 |
| MinimizedNoFocus | 6 | 窗口显示为一个图标。Window is displayed as an icon. 当前活动的窗口仍保持活动状态。The currently active window remains active. 此成员等效于 Visual Basic 常量 |
| NormalFocus | 1 | 窗口具有焦点,且还原至其原始大小和位置。Window has focus and is restored to its original size and position. 此成员等效于 Visual Basic 常量 |
| NormalNoFocus | 4 | 窗口还原至其最近的大小和位置。Window is restored to its most recent size and position. 当前活动的窗口仍保持活动状态。The currently active window remains active. 此成员等效于 Visual Basic 常量 |
注解
发出命令时 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.