This documentation is archived and is not being maintained.

Message Members

Message overview

Public Properties

public propertyHWnd Gets or sets the window handle of the message.
public propertyLParam Specifies the LParam field of the message.
public propertyMsg Gets or sets the ID number for the message.
public propertyResult Specifies the value that is returned to Windows in response to handling the message.
public propertyWParam Gets or sets the WParam field of the message.

Public Methods

public methodstatic (Shared in Visual Basic)Create Creates a new Message structure.
public methodEquals Overridden. See ValueType.Equals.
public methodGetHashCode Overridden. See ValueType.GetHashCode.
public methodGetLParam Gets the LParam value, and converts the value to an object.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodToString Overridden. See ValueType.ToString.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Message Structure | System.Windows.Forms Namespace

Show: