AccessibleObject.IAccessible.accHitTest(Int32, Int32) Method

Definition

Gets the child object at the specified screen coordinates. For a description of this member, see accHitTest(Int32, Int32).

object IAccessible.accHitTest (int xLeft, int yTop);
object? IAccessible.accHitTest (int xLeft, int yTop);

Parameters

xLeft
Int32

The horizontal coordinate.

yTop
Int32

The vertical coordinate.

Returns

The accessible object at the point specified by xLeft and yTop.

Implements

Remarks

The following table describes the object types that the IAccessible.accHitTest method can return.

Type Description
IAccessible The accessible object at the specified direction.
integer 0 if the point specified is either the current object or outside the object's boundaries; otherwise, the child ID that identifies the accessible object at the specified direction.

This member is an explicit interface member implementation. It can be used only when the AccessibleObject instance is cast to an IAccessible interface.

Applies to

Producto Versiones
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9