Window.createHandle

Overview | Methods | This Package | All Packages

Window.createHandle

Creates a window handle for this Window object.

Syntax

public void createHandle( CreateParams cp )

Parameters

cp

A com.ms.wfc.ui.CreateParams object that represents the creation parameters for this window.

Remarks

The CreateParam object assigned to the createHandle method specifies the parameter values that are passed to the CreateWindowEx Windows API function to create a window and its handle. A non-null value in the className field of the CreateParams object indicates that the newly created window handle should subclass the specified window class. For example, if className is set to "BUTTON", the newly created window handle will be a subclass of the BUTTON window class defined by Windows. The param field of the CreateParams object must be either null or refer to an instance of a class that was declared using the @dll.struct directive.

See Also   com.ms.wfc.ui.CreateParams, assignHandle, releaseHandle