Microsoft SDK for Java

accLocation

This method of the IAccessible Interface retrieves the screen location of an accessibility object. The varChild parameter indicates whether this method will retrieve the coordinates of the container itself or of one of its children.

Syntax

public void accLocation(int[] pxLeft, int[] pyTop, int[] pcxWidth, int[] pcyHeight, Variant varChild);

Parameters

pxLeft The retrieved x-coordinate of the object's screen location.
pyTop The retrieved y-coordinate of the object's screen location.
pcxWidth The object's retrieved width, measured in pixels.
pcyHeight The object's retrieved height, measured in pixels.
varChild A value that identifies the child object whose location is retrieved.

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