void Proc()
        {
            var pt     = NativeMethods.GetCursorPos();
            var result = UiHitTest.GetUiHit(new Point(pt));
            var arg    = new AccessibleTrackedArgs()
            {
                Position = new Point(pt),
                Element  = result.UiElement,
                RawHit   = result.RawHit
            };

            Tracked?.Invoke(this, arg);
        }
Beispiel #2
0
 public void InvokeTracked()
 {
     Tracked?.Invoke(this, null);
 }
 public void OnTracked(InternalEntityEntry internalEntityEntry, bool fromQuery) => Tracked?.Invoke(null, null);
Beispiel #4
0
 private static void OnTracked(CppObject obj)
 {
     Tracked?.Invoke(null, new CppObjectEventArgs(obj));
 }