Message.create

Overview | Methods | Fields | This Package | All Packages

Message.create

Creates a Message object.

Syntax

public static synchronized Message create( int hWnd, int msg, int wParam, int lParam )

Parameters

hWnd

The window handle for the message.

msg

The message ID.

wParam

The message's wParam.

lParam

The message's lParam.

Return Value

Returns a Message object representing the message that was created.

Remarks

Use the create method to create a Message object to wrap a message sent by Windows. When your application is finished with the message, use the free method to free the object.

See Also   free