Name

Message (.NET Structure)

Synopsis

Defines a Windows message:

Public Structure Message

Public Shared Methods

Create

Creates a new Message structure.

Public Instance Fields

hwnd

The handle to which this message is sent.

msg

The identifier for this message.

lParam

Definition depends on message.

wParam

Definition depends on message.

result

Return value for this message.

Public Instance Methods

Equals

Determines if this Message structure is equal to another object.

GetHashCode

Returns a hash code value for the instance of this structure.

GetLParam

Casts the lParam field to an Object type.

GetType

Returns this structure’s type.

ToString

Returns the name of this structure.

Protected Instance Methods

Finalize

The destructor for this class.

MemberwiseClone

Returns a shallow copy of this structure’s instance.

Get Subclassing and Hooking with Visual Basic now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.