This documentation is archived and is not being maintained.
MSG Structure
Visual Studio 2010
Contains message information from a thread's message queue.
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.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
