AccessibleObject.IAccessible.accHitTest(Int32, Int32) AccessibleObject.IAccessible.accHitTest(Int32, Int32) AccessibleObject.IAccessible.accHitTest(Int32, Int32) Method


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

 virtual System::Object ^ Accessibility.IAccessible.accHitTest(int xLeft, int yTop) = Accessibility::IAccessible::accHitTest;
object IAccessible.accHitTest (int xLeft, int yTop);
Function accHitTest (xLeft As Integer, yTop As Integer) As Object Implements IAccessible.accHitTest


Int32 Int32 Int32

The horizontal coordinate.

Int32 Int32 Int32

The vertical coordinate.


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



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