Message.LParam Property

Definition

Specifies the LParam field of the message.

C#
public IntPtr LParam { get; set; }

Property Value

IntPtr

The LParam field of the message.

Remarks

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.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also