MSG MSG MSG MSG Struct

Definition

Contains message information from a thread's message queue.

public value class MSG
[System.Serializable]
public struct MSG
type MSG = struct
Public Structure MSG
Inheritance
Attributes

Remarks

This type provides similar information to the unmanaged Win32 MSG structure.

Properties

hwnd hwnd hwnd hwnd

Gets or sets the window handle (HWND) to the window whose window procedure receives the message.

lParam lParam lParam 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 message message message

Gets or sets the message identifier.

pt_x pt_x pt_x pt_x

Gets or sets the x coordinate of the cursor position on the screen, when the message was posted.

pt_y pt_y pt_y pt_y

Gets or sets the y coordinate of the cursor position on the screen, when the message was posted.

time time time time

Gets or sets the time at which the message was posted.

wParam wParam wParam 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.

Applies to