Breyta

Deila með


ProcessWindowStyle Enum

Definition

Specified how a new window should appear when the system starts a process.

public enum class ProcessWindowStyle
public enum ProcessWindowStyle
type ProcessWindowStyle = 
Public Enum ProcessWindowStyle
Inheritance
ProcessWindowStyle

Fields

Name Value Description
Normal 0

The normal, visible window style. The system displays a window with Normal style on the screen, in a default location. If a window is visible, the user can supply input to the window and view the window's output. Frequently, an application may initialize a new window to the Hidden style while it customizes the window's appearance, and then make the window style Normal.

Hidden 1

The hidden window style. A window can be either visible or hidden. The system displays a hidden window by not drawing it. If a window is hidden, it is effectively disabled. A hidden window can process messages from the system or from other windows, but it cannot process input from the user or display output. Frequently, an application may keep a new window hidden while it customizes the window's appearance, and then make the window style Normal. To use Hidden, the UseShellExecute property must be true.

Minimized 2

The minimized window style. By default, the system reduces a minimized window to the size of its taskbar button and moves the minimized window to the taskbar.

Maximized 3

The maximized window style. By default, the system enlarges a maximized window so that it fills the screen or, in the case of a child window, the parent window's client area. If the window has a title bar, the system automatically moves it to the top of the screen or to the top of the parent window's client area. Also, the system disables the window's sizing border and the window-positioning capability of the title bar so that the user cannot move the window by dragging the title bar.

Applies to

See also