This documentation is archived and is not being maintained.

Message.LParam Property

Specifies the LParam field of the message.

[Visual Basic]
Public Property LParam As IntPtr
public IntPtr LParam {get; set;}
public: __property IntPtr get_LParam();
public: __property void set_LParam(IntPtr);
public function get LParam() : IntPtr;
public function set LParam(IntPtr);

Property Value

The LParam field of the message.


The value of this field depends on the message. Use the LParam field to get information that is important for handling the message. LParam is typically used to store an object if it is needed by the message. Use the GetLParam method to retrieve and convert information from the LParam field into an object.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Message Structure | Message Members | System.Windows.Forms Namespace