Table of Contents

Class WindowMessageMonitorEventArgs

Namespace
Whim
Assembly
Whim.dll
Args for a Whim.WindowMessageMonitor event.
public class WindowMessageMonitorEventArgs : EventArgs
Inheritance
WindowMessageMonitorEventArgs
Inherited Members

Properties

Handled

Indicates whether this message was handled and the whether the Result value should be returned from the Windows.Win32.UI.Shell.SUBCLASSPROC.
public bool Handled { get; set; }

Property Value

bool

Remarks

When false, the message will continue to be processed by other subclasses.

MessagePayload

The message.
public required WindowMessageMonitorEventArgsPayload MessagePayload { get; init; }

Property Value

WindowMessageMonitorEventArgsPayload

Result

Set the result after processing the message, so Whim.WindowMessageMonitor can return the result from the Windows.Win32.UI.Shell.SUBCLASSPROC delegate. This will only be returned if Handled is set to true
public nint Result { get; set; }

Property Value

nint

Methods

ToString()

Returns a string that represents the current object.
public override string ToString()

Returns

string
A string that represents the current object.