Udostępnij za pośrednictwem


AppWinStyle Enumeration

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

Remarks

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.

Members

Member

Constant

Description

Hide

vbHide

Window is hidden and focus is passed to the hidden window.

NormalFocus

vbNormalFocus

Window has focus and is restored to its original size and position.

MinimizedFocus

vbMinimizedFocus

Window is displayed as an icon with focus.

MaximizedFocus

vbMaximizedFocus

Window is maximized with focus.

NormalNoFocus

vbNormalNoFocus

Window is restored to its most recent size and position. The currently active window remains active.

MinimizedNoFocus

vbMinimizedNoFocus

Window is displayed as an icon. The currently active window remains active.

Requirements

Namespace: Microsoft.VisualBasic

Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)

See Also

Tasks

How to: Refer to an Enumeration Member

Concepts

Intrinsic Constants and Enumerations

When to Use an Enumeration

Reference

Shell Function