Microsoft SDK for Java

Screen.fromPoint

Returns a Screen object for the monitor that contains the specified point.

Syntax

public static Screen fromPoint( Point point )

Parameters

point

A Point object that specifies the location for which to retrieve a Screen object.

Return Value

Returns a Screen object for the monitor that contains the point. If no monitor contains the point, then the monitor closest to the specified point is returned.

See Also   fromControl, fromHwnd, fromRectangle

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