SpecialWindowHandles Enumeration

A handle to the window to precede the positioned window in the Z order.

hwndInsertAfter parameter of SetWindowPos(IntPtr, IntPtr, Int32, Int32, Int32, Int32, SetWindowPosFlags) function.

Definition

Namespace: DevCase.Win32.Enums
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public enum SpecialWindowHandles

Remarks

Members

Top 0 Places the window at the top of the Z order.
Bottom 1 Places the window at the bottom of the Z order.

If the hwnd parameter identifies a topmost window, the window loses its topmost status and is placed at the bottom of all other windows.

TopMost -1 Places the window above all non-topmost windows.

The window maintains its topmost position even when it is deactivated.

NoTopMost -2 Places the window above all non-topmost windows (that is, behind all topmost windows).

This flag has no effect if the window is already a non-topmost window.

See Also