MSG Structure
Contains message information from a thread's message queue.
Assembly: WindowsBase (in WindowsBase.dll)
| 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(Object) | 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() | |
![]() | ToString() | Returns the fully qualified type name of this instance.(Inherited from ValueType.) |
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

