System.Windows.Forms
1.0.5000.0
2.0.0.0
System.ValueType
The structure wraps messages that Windows sends. You can use this structure to wrap a message and assign it to the window procedure to be dispatched. You can also use this structure to get information about a message the system sends to your application or controls. For more information about Windows messages, see Messages and Message Queues.
You cannot create the directly. Instead, use the method. For the sake of efficiency, the uses its pool of existing s instead of instantiating a new one, if possible. However, if a is not available in the pool, a new one is instantiated.
Implements a Windows message.
Method
System.Windows.Forms.Message
Use the method to create a to wrap a message sent by Windows.
Creates a new .
A that represents the message that was created.
The window handle that the message is for.
The message ID.
The message field.
The message field.
1.0.5000.0
2.0.0.0
Method
System.Boolean
To be added.
Determines whether the specified object is equal to the current object.
true if the specified object is equal to the current object; otherwise, false.
The object to compare with the current object.
1.0.5000.0
2.0.0.0
Method
System.Int32
To be added.
To be added.
To be added.
1.0.5000.0
2.0.0.0
Method
System.Object
Use the method to retrieve information from the field of a message and convert it to an object. You can use this method to access objects passed in a message.
Gets the value and converts the value to an object.
An that represents an instance of the class specified by the parameter, with the data from the field of the message.
The type to use to create an instance. This type must be declared as a structure type.
1.0.5000.0
2.0.0.0
Property
System.IntPtr
To be added.
To be added.
Gets or sets the window handle of the message.
1.0.5000.0
2.0.0.0
Property
System.IntPtr
To be added.
The value of this field depends on the message. Use the field to get information that is important for handling the message. is typically used to store an object if it is needed by the message. Use the method to retrieve and convert information from the field into an object.
Specifies the field of the message.
1.0.5000.0
2.0.0.0
Property
System.Int32
To be added.
To be added.
Gets or sets the ID number for the message.
1.0.5000.0
2.0.0.0
Method
2.0.0.0
System.Boolean
To be added.
Determines whether two instances of are equal.
true if and represent the same ; otherwise, false.
A to compare to .
A to compare to .
Method
2.0.0.0
System.Boolean
To be added.
Determines whether two instances of are not equal.
true if and do not represent the same ; otherwise, false.
A to compare to .
A to compare to .
Property
System.IntPtr
To be added.
To be added.
Specifies the value that is returned to Windows in response to handling the message.
1.0.5000.0
2.0.0.0
Method
System.String
To be added.
Returns a that represents the current .
A that represents the current .
1.0.5000.0
2.0.0.0
Property
System.IntPtr
To be added.
The value of this field depends on the message. Use the field to get information that is important to handling the message. This field is typically used to store small pieces of information, such as flags.
Gets or sets the field of the message.
1.0.5000.0
2.0.0.0