Export (0) Print
Expand All

Message.GetLParam Method

Gets the LParam value, and converts the value to an object.

[Visual Basic]
Public Function GetLParam( _
   ByVal cls As Type _
) As Object
[C#]
public object GetLParam(
 Type cls
);
[C++]
public: Object* GetLParam(
 Type* cls
);
[JScript]
public function GetLParam(
   cls : Type
) : Object;

Parameters

cls
The type to use to create an instance. This type must be declared as a structure type.

Return Value

An Object that represents an instance of the class specified by the cls parameter, with the data from the LParam field of the message.

Remarks

Use the GetLParam method to retrieve information from the LParam field of a message and convert it to an object. You can use this method to access objects passed in a message.

Requirements

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

Show:
© 2014 Microsoft