Microsoft SDK for Java

Window.fromHandle

Retrieves the Window object associated with the specified handle.

Syntax

public static Window fromHandle( int handle )

Parameters

handle

A handle to a window.

Return Value

Returns the Window object associated with the specified handle. The return value is null if the handle does not have an associated Window object.

Remarks

The fromHandle method allows you to get the Window object that is associated with a window handle. If you have received a handle from another method, use this method to retrieve the Window object for the handle.

See Also   getHandle

© 1999 Microsoft Corporation. All rights reserved. Terms of use.