MSG Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains message information from a thread's message queue.
public value class MSG
[System.Serializable]
public struct MSG
public struct MSG
[<System.Serializable>]
type MSG = struct
type MSG = struct
Public Structure MSG
- Inheritance
- Attributes
Remarks
This type provides similar information to the unmanaged Win32 MSG structure.
Properties
hwnd |
Gets or sets the window handle (HWND) to the window whose window procedure receives the message. |
lParam |
Gets or sets the |
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 |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈