Structural purpose Description implements a Windows message.
Properties
1.public IntPtr HWnd {get; set;}
Gets or sets the window handle of the message.
System. IntPtr A platform-specific type that's used to represent A pointer or A handle.
2.public IntPtr LParam {get; set;}
Specifies the LParam field of the message.
ReMarks:
The value of this field depends the message. Use the LParam field to get information, that's important for handling the message.
LParam is typically used to store a object if it is needed by the message. Use the Getlparam method to retrieve and convert information from the LParam field into an object.
This property is typically used to store an object required by the message, and the Getlparam method is used to retrieve and transform information from lparam to an object
3.public int MSG {get; set;}
Gets or sets the ID number for the message.
4.public IntPtr Result {get; set;}
Specifies the value is returned to Windows in response to handling the message.
5.public IntPtr WParam {get; set;}
Gets or sets the WParam field of the message.
ReMarks:
The value of this field depends the message. Use the WParam field to get information, that's important to handling the message.
This field was typically used to store small pieces of information, such as flags.
This property is typically used to hold small pieces of information, such as flag bits
Message Structure in System.Windows.Forms