Microsoft SDK for Java

accHitTest

This method of the IAccessibleDefault Interface retrieves the child object at a specified location on the screen. That is, a point on the screen is tested to see if there is a child object (a hit) located at that point.

Syntax

public Variant accHitTest(int xLeft, int yTop);

Return Value

Returns a Variant object that describes the child object located at the specified coordinates.

Parameters

xLeft The x-coordinate of the point on the screen that is hit-tested.
yTop The y-coordinate of the point on the screen that is hit-tested

Overrides

accHitTest(int,int) in IAccessible.

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