Table of Contents

Class MoveWindowToMonitorTransform

Namespace
Whim
Assembly
Whim.dll
Moves the window with WindowHandle to the monitor with MonitorHandle.
public record MoveWindowToMonitorTransform : Transform, IEquatable<Transform<Unit>>, IEquatable<Transform>, IEquatable<MoveWindowToMonitorTransform>
Inheritance
MoveWindowToMonitorTransform
Implements
Inherited Members

Constructors

MoveWindowToMonitorTransform(HMONITOR, HWND)

Moves the window with WindowHandle to the monitor with MonitorHandle.
public MoveWindowToMonitorTransform(HMONITOR MonitorHandle, HWND WindowHandle = default)

Parameters

MonitorHandle HMONITOR
The handle of the monitor to move the window to.
WindowHandle HWND
The handle of the window to move. If not provided, this will default to the focused/active window.

Properties

MonitorHandle

The handle of the monitor to move the window to.
public HMONITOR MonitorHandle { get; init; }

Property Value

HMONITOR

WindowHandle

The handle of the window to move. If not provided, this will default to the focused/active window.
public HWND WindowHandle { get; init; }

Property Value

HWND