ShapeAccessibleObject::HitTest Method (Int32, Int32)
Visual Studio 2015
Performs hit-test of the shape at specified screen coordinates and returns MSAA object for the hit child.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Parameters
- x
-
Type:
System::Int32
X in screen coordinates.
- y
-
Type:
System::Int32
Y in screen coordinates.
Return Value
Type: System.Windows.Forms::AccessibleObject^We override this here since base class's code loops though all children by calling GetChildCount/GetChild(ID) which are very inefficient.
Show: