This documentation is archived and is not being maintained.

Message Members

Implements a Windows message.

The Message type exposes the following members.

Public method Static member Create Creates a new Message.
Public method Equals Determines whether the specified object is equal to the current object. (Overrides ValueType.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Overrides ValueType.GetHashCode().)
Public method GetLParam Gets the LParam value and converts the value to an object.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Infrastructure. Returns a String that represents the current Message. (Overrides ValueType.ToString().)

Public operator Static member Equality Determines whether two instances of Message are equal.
Public operator Static member Inequality Determines whether two instances of Message are not equal.

Public property HWnd Gets or sets the window handle of the message.
Public property LParam Specifies the LParam field of the message.
Public property Msg Gets or sets the ID number for the message.
Public property Result Specifies the value that is returned to Windows in response to handling the message.
Public property WParam Gets or sets the WParam field of the message.