107 references to WinEventTracker
UIAutomationClientSideProviders (107)
MS\Internal\AutomationProxies\MSAAEventDispatcher.cs (2)
78WinEventTracker.GetCallbackQueue().PostSyncWorkItem(new QueueItem.MSAAWinEventItem(StartListening)); 144WinEventTracker.GetCallbackQueue().PostSyncWorkItem(new QueueItem.MSAAWinEventItem(StopListening));
MS\Internal\AutomationProxies\NonClientArea.cs (1)
30_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\ProxyHwnd.cs (16)
71ReadOnlySpan<WinEventTracker.EvtIdProperty> aEvents; 87WinEventTracker.AddToNotificationList(_hwnd, _createOnEvent, aEvents); 100ReadOnlySpan<WinEventTracker.EvtIdProperty> aEvents; 116WinEventTracker.RemoveToNotificationList(_hwnd, aEvents, null); 335internal WinEventTracker.ProxyRaiseEvents _createOnEvent = null; 399protected virtual ReadOnlySpan<WinEventTracker.EvtIdProperty> EventToWinEvent(AutomationEvent idEvent) 406return new WinEventTracker.EvtIdProperty[2] 416return new WinEventTracker.EvtIdProperty [2] 432return new WinEventTracker.EvtIdProperty[4] { 441return new WinEventTracker.EvtIdProperty[3] { 449return new WinEventTracker.EvtIdProperty[2] { 456return ReadOnlySpan<WinEventTracker.EvtIdProperty>.Empty; 460return new WinEventTracker.EvtIdProperty [1] { new(idWinEvent, idEvent) }; 508private ReadOnlySpan<WinEventTracker.EvtIdProperty> PropertyToWinEvent(AutomationProperty[] aProps) 510List<WinEventTracker.EvtIdProperty> automationEvents = new(16); 518automationEvents.Add(new WinEventTracker.EvtIdProperty(evtId[i], idProp));
MS\Internal\AutomationProxies\QueueProcessor.cs (4)
278internal WinEventItem (ref WinEventTracker.EventHookParams hp, WinEventTracker.StartStopDelegate ssd) 310private WinEventTracker.EventHookParams _hp; 313private WinEventTracker.StartStopDelegate _ssd;
MS\Internal\AutomationProxies\WindowsAltTab.cs (1)
34_createOnEvent = new WinEventTracker.ProxyRaiseEvents(RaiseEvents);
MS\Internal\AutomationProxies\WindowsButton.cs (3)
39_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents); 284protected override ReadOnlySpan<WinEventTracker.EvtIdProperty> EventToWinEvent(AutomationEvent idEvent) 290return new WinEventTracker.EvtIdProperty[1] { new(NativeMethods.EventObjectInvoke, idEvent) };
MS\Internal\AutomationProxies\WindowsComboBox.cs (10)
49_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents); 305ReadOnlySpan<WinEventTracker.EvtIdProperty> editPortionEvents = CreateEditPortionEvents(aidProps); 309WinEventTracker.AddToNotificationList(cbInfo.hwndItem, new WinEventTracker.ProxyRaiseEvents(EditPortionEvents), editPortionEvents); 341ReadOnlySpan<WinEventTracker.EvtIdProperty> editPortionEvents = CreateEditPortionEvents(aidProps); 345WinEventTracker.RemoveToNotificationList(cbInfo.hwndItem, editPortionEvents, null); 797private static ReadOnlySpan<WinEventTracker.EvtIdProperty> CreateEditPortionEvents(AutomationProperty[] aidProps) 811return ReadOnlySpan<WinEventTracker.EvtIdProperty>.Empty; 814WinEventTracker.EvtIdProperty[] editPortionEvents = new WinEventTracker.EvtIdProperty[c];
MS\Internal\AutomationProxies\WindowsEditBox.cs (2)
57_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents); 252protected override ReadOnlySpan<WinEventTracker.EvtIdProperty> EventToWinEvent(AutomationEvent idEvent)
MS\Internal\AutomationProxies\WindowsFormsLinkLabel.cs (3)
31_createOnEvent = new WinEventTracker.ProxyRaiseEvents(RaiseEvents); 68protected override ReadOnlySpan<WinEventTracker.EvtIdProperty> EventToWinEvent(AutomationEvent idEvent) 72return new WinEventTracker.EvtIdProperty[1] { new(NativeMethods.EventSystemCaptureEnd, idEvent) };
MS\Internal\AutomationProxies\WindowsHyperlink.cs (3)
33_createOnEvent = new WinEventTracker.ProxyRaiseEvents(RaiseEvents); 124protected override ReadOnlySpan<WinEventTracker.EvtIdProperty> EventToWinEvent(AutomationEvent idEvent) 128return new WinEventTracker.EvtIdProperty[1] { new(NativeMethods.EventSystemCaptureEnd, idEvent) };
MS\Internal\AutomationProxies\WindowsIPAddress.cs (1)
37_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\WindowsListBox.cs (4)
43_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents); 453ReadOnlySpan<WinEventTracker.EvtIdProperty> aEvtIdProperties = [new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectSelection, SelectionPattern.IsSelectionRequiredProperty)]; 455WinEventTracker.RemoveToNotificationList(hwnd, aEvtIdProperties, null);
MS\Internal\AutomationProxies\WindowsListView.cs (19)
59_groupEvents = new WinEventTracker.EvtIdProperty [3]; 83_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents); 86WinEventTracker.AddToNotificationList(_hwnd, new WinEventTracker.ProxyRaiseEvents (WindowsListView.GroupSpecificEvents), _groupEvents); 498ReadOnlySpan<WinEventTracker.EvtIdProperty> aEvents = [new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectCreate, TablePattern.ColumnHeadersProperty)]; 499WinEventTracker.AddToNotificationList(hwndHeader, header._createOnEvent, aEvents); 507ReadOnlySpan<WinEventTracker.EvtIdProperty> aEvents = [new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectSelection, eventId)]; 508WinEventTracker.AddToNotificationList(_hwnd, _createOnEvent, aEvents); 527ReadOnlySpan<WinEventTracker.EvtIdProperty> aEvents = [new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectCreate, TablePattern.ColumnHeadersProperty)]; 528WinEventTracker.RemoveToNotificationList(hwndHeader, aEvents, header._createOnEvent); 536ReadOnlySpan<WinEventTracker.EvtIdProperty> aEvents = [new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectSelection, eventId)]; 537WinEventTracker.AddToNotificationList(_hwnd, _createOnEvent, aEvents); 1151WinEventTracker.RemoveToNotificationList(hwnd, _groupEvents, null); 1167WinEventTracker.RemoveToNotificationList(hwnd, _groupEvents, null); 2019private static readonly WinEventTracker.EvtIdProperty [] _groupEvents;
MS\Internal\AutomationProxies\WindowsMenu.cs (9)
459WinEventTracker.AddToNotificationList(IntPtr.Zero, new WinEventTracker.ProxyRaiseEvents(MenuEvents), _menuEvents); 480WinEventTracker.RemoveToNotificationList(IntPtr.Zero, _menuEvents, new WinEventTracker.ProxyRaiseEvents(MenuEvents)); 1111private static readonly WinEventTracker.EvtIdProperty [] _menuEvents = new WinEventTracker.EvtIdProperty [] { 1112new WinEventTracker.EvtIdProperty(NativeMethods.EventSystemMenuPopupStart, ExpandCollapsePattern.ExpandCollapseStateProperty), 1113new WinEventTracker.EvtIdProperty(NativeMethods.EventSystemMenuPopupEnd, ExpandCollapsePattern.ExpandCollapseStateProperty), 1114new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectInvoke, InvokePattern.InvokedEvent)
MS\Internal\AutomationProxies\WindowsProgressbar.cs (1)
29_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\WindowsRebar.cs (1)
32_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\WindowsRichEdit.cs (1)
44_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (1)
50_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\WindowsSlider.cs (1)
36_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\WindowsSpinner.cs (1)
36_createOnEvent = new WinEventTracker.ProxyRaiseEvents(RaiseEvents);
MS\Internal\AutomationProxies\WindowsStatic.cs (1)
40_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\WindowsStatusBar.cs (1)
37_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\WindowsSysHeader.cs (1)
40_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\WindowsTab.cs (6)
45_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents); 52_upDownEvents = new WinEventTracker.EvtIdProperty [1]; 318WinEventTracker.AddToNotificationList(upDownHwnd, new WinEventTracker.ProxyRaiseEvents(UpDownControlRaiseEvents), _upDownEvents); 335WinEventTracker.RemoveToNotificationList(upDownHwnd, _upDownEvents, null); 877private static readonly WinEventTracker.EvtIdProperty[] _upDownEvents;
MS\Internal\AutomationProxies\WindowsToolbar.cs (1)
35_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\WindowsTooltip.cs (8)
33_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents); 89WinEventTracker.AddToNotificationList(IntPtr.Zero, new WinEventTracker.ProxyRaiseEvents(OnToolTipEvents), _toolTipEventIds); 106WinEventTracker.RemoveToNotificationList(IntPtr.Zero, _toolTipEventIds, new WinEventTracker.ProxyRaiseEvents(OnToolTipEvents)); 352private static readonly WinEventTracker.EvtIdProperty[] _toolTipEventIds = new WinEventTracker.EvtIdProperty[] 354new WinEventTracker.EvtIdProperty(NativeMethods.EVENT_OBJECT_HIDE, 0),
MS\Internal\AutomationProxies\WindowsTreeView.cs (3)
36_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents); 345protected override ReadOnlySpan<WinEventTracker.EvtIdProperty> EventToWinEvent(AutomationEvent idEvent) 349return new WinEventTracker.EvtIdProperty[3]
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
33_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\WinFormsSpinner.cs (1)
98_createOnEvent = new WinEventTracker.ProxyRaiseEvents(WindowsUpDown.RaiseEvents);