Table of Contents

Class DeferWindowPosState

Namespace
Whim
Assembly
Whim.dll
The positioning state of a window.
public record DeferWindowPosState : WindowPosition, IEquatable<WindowPosition>, IEquatable<DeferWindowPosState>
Inheritance
DeferWindowPosState
Implements
Inherited Members

Constructors

DeferWindowPosState(HWND, WindowSize, IRectangle<int>, HWND?, SET_WINDOW_POS_FLAGS?)

Creates a WindowPosState record.
public DeferWindowPosState(HWND handle, WindowSize windowSize, IRectangle<int> rect, HWND? hwndInsertAfter = null, SET_WINDOW_POS_FLAGS? flags = null)

Parameters

handle HWND
The handle of the window set the position of.
windowSize WindowSize
The size of the window to set the position of.
rect IRectangle<int>
The size and position of the window.
hwndInsertAfter HWND?
The HWND to insert the window after. See SetWindowPos. Defaults to new HWND(1).
flags SET_WINDOW_POS_FLAGS?
The flags to use when setting the window position. This overrides the default flags Whim sets, except when the window is maximized or minimized.

Properties

Flags

The window position flags to apply.
public SET_WINDOW_POS_FLAGS? Flags { get; }

Property Value

SET_WINDOW_POS_FLAGS?

Handle

The handle of the window to set the position for.
public HWND Handle { get; }

Property Value

HWND

HandleInsertAfter

The HWND to insert the window after. See SetWindowPos.
public HWND HandleInsertAfter { get; }

Property Value

HWND