MSG Structure
.NET Framework 4.5
Contains message information from a thread's message queue.
Namespace: System.Windows.Interop
Assembly: WindowsBase (in WindowsBase.dll)
XMLNS for XAML: Not mapped to an xmlns.
The MSG type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | hwnd | Gets or sets the window handle (HWND) to the window whose window procedure receives the message. |
![]() | lParam | Gets or sets the lParam value that specifies additional information about the message. The exact meaning depends on the value of the message member. |
![]() | message | Gets or sets the message identifier. |
![]() | pt_x | Gets or sets the x coordinate of the cursor position on the screen, when the message was posted. |
![]() | pt_y | Gets or sets the y coordinate of the cursor position on the screen, when the message was posted. |
![]() | time | Gets or sets the time at which the message was posted. |
![]() | wParam | Gets or sets the wParam value for the message, which specifies additional information about the message. The exact meaning depends on the value of the message. |
| Name | Description | |
|---|---|---|
![]() | Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) |
![]() | GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
