Redigeeri

Jagamisviis:


MSG Struct

Definition

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

Applies to