Show / Hide Table of Contents

Struct Message

Represents a Windows Message.

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: WinUIEx.Messaging
Assembly: WinUIEx.dll
Syntax
public struct Message
Remarks

Refer to Windows MSG structure documentation for more info: .

Properties

| Improve this Doc View Source

Hwnd

Gets the window handle of the message.

Declaration
public IntPtr Hwnd { readonly get; }
Property Value
Type Description
System.IntPtr
Remarks

Window handle is a value that uniquely identifies a window on the system. This property returns a handle of the window whose window procedure receives this message. It is useful when your code need to interact with some native Windows API functions that expect window handles as parameters.

| Improve this Doc View Source

LParam

Specifies the LParam field of the message.

Declaration
public nint LParam { readonly get; }
Property Value
Type Description
System.IntPtr
| Improve this Doc View Source

MessageId

Gets the ID number for the message.

Declaration
public uint MessageId { readonly get; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

WParam

Gets or sets the WParam field of the message.

Declaration
public nuint WParam { readonly get; }
Property Value
Type Description
System.UIntPtr

Methods

| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.ValueType.ToString()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX