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
Properties
| Improve this Doc View SourceHwnd
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.
LParam
Specifies the LParam field of the message.
Declaration
public nint LParam { readonly get; }
Property Value
Type | Description |
---|---|
System.IntPtr |
MessageId
Gets the ID number for the message.
Declaration
public uint MessageId { readonly get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
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 SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.ValueType.ToString()