Table of Contents

Interface IMonitorSector

Namespace
Whim
Assembly
Whim.dll
The sector containing monitors.
public interface IMonitorSector

Properties

ActiveMonitorHandle

The handle of the monitor which is currently active, in Monitors.
HMONITOR ActiveMonitorHandle { get; }

Property Value

HMONITOR

LastWhimActiveMonitorHandle

The handle of the last monitor which received an event sent by Windows which Whim did not ignore.
HMONITOR LastWhimActiveMonitorHandle { get; }

Property Value

HMONITOR

Monitors

All the monitors currently tracked by Whim. The monitors are ordered by their x-coordinate and then by their y-coordinate. Your primary monitor will have the top-left coordinate be (0, 0). Accordingly, monitors to the left of the primary monitor will have negative x-coordinates, and monitors above the primary monitor will have negative y-coordinates.
ImmutableArray<IMonitor> Monitors { get; }

Property Value

ImmutableArray<IMonitor>

PrimaryMonitorHandle

The handle of the primary monitor, in Monitors.
HMONITOR PrimaryMonitorHandle { get; }

Property Value

HMONITOR