MS\Internal\AutomationProxies\ProxyHwnd.cs (31)
72WinEventTracker.EvtIdProperty [] aEvents;
88WinEventTracker.AddToNotificationList (_hwnd, _createOnEvent, aEvents, cEvents);
102WinEventTracker.EvtIdProperty [] aEvents;
118WinEventTracker.RemoveToNotificationList (_hwnd, aEvents, null, cEvents);
337internal WinEventTracker.ProxyRaiseEvents _createOnEvent = null;
399protected virtual WinEventTracker.EvtIdProperty [] EventToWinEvent (AutomationEvent idEvent, out int cEvent)
407return new WinEventTracker.EvtIdProperty[2]
409new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectSelection, idEvent),
410new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectStateChange, idEvent)
418return new WinEventTracker.EvtIdProperty [2]
420new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectSelectionAdd, idEvent),
421new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectSelection, idEvent)
435return new WinEventTracker.EvtIdProperty[4] {
436new WinEventTracker.EvtIdProperty (NativeMethods.EventSystemCaptureEnd, idEvent), // For SysHeaders
437new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectStateChange, idEvent),
438new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectValueChange, idEvent), // For WindowsScrollBarBits
439new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectInvoke, idEvent)
445return new WinEventTracker.EvtIdProperty[3] {
446new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectCreate, idEvent),
447new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectDestroy, idEvent),
448new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectReorder, idEvent)
454return new WinEventTracker.EvtIdProperty[2] {
455new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectLocationChange, idEvent),
456new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectTextSelectionChanged, idEvent)
467return new WinEventTracker.EvtIdProperty [1] { new WinEventTracker.EvtIdProperty (idWinEvent, idEvent) };
515private WinEventTracker.EvtIdProperty [] PropertyToWinEvent (AutomationProperty [] aProps, out int cEvent)
525alEvents.Add (new WinEventTracker.EvtIdProperty (evtId [i], idProp));
530WinEventTracker.EvtIdProperty [] aEvtIdProperties = new WinEventTracker.EvtIdProperty [alEvents.Count];
535aEvtIdProperties [i] = (WinEventTracker.EvtIdProperty) alEvents [i];
MS\Internal\AutomationProxies\WindowsListView.cs (23)
60_groupEvents = new WinEventTracker.EvtIdProperty [3];
84_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
87WinEventTracker.AddToNotificationList (_hwnd, new WinEventTracker.ProxyRaiseEvents (WindowsListView.GroupSpecificEvents), _groupEvents, 3);
499WinEventTracker.EvtIdProperty[] aEvents = new WinEventTracker.EvtIdProperty[] { new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectCreate, TablePattern.ColumnHeadersProperty) };
500WinEventTracker.AddToNotificationList(hwndHeader, header._createOnEvent, aEvents, 1);
508WinEventTracker.EvtIdProperty[] aEvents = new WinEventTracker.EvtIdProperty[] { new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectSelection, eventId) };
509WinEventTracker.AddToNotificationList(_hwnd, _createOnEvent, aEvents, 1);
528WinEventTracker.EvtIdProperty[] aEvents = new WinEventTracker.EvtIdProperty[] { new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectCreate, TablePattern.ColumnHeadersProperty) };
529WinEventTracker.RemoveToNotificationList (hwndHeader, aEvents, header._createOnEvent, 1);
537WinEventTracker.EvtIdProperty[] aEvents = new WinEventTracker.EvtIdProperty[] { new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectSelection, eventId) };
538WinEventTracker.AddToNotificationList(_hwnd, _createOnEvent, aEvents, 1);
1152WinEventTracker.RemoveToNotificationList (hwnd, _groupEvents, null, 3);
1168WinEventTracker.RemoveToNotificationList (hwnd, _groupEvents, null, 3);
2020private readonly static WinEventTracker.EvtIdProperty [] _groupEvents;
MS\Internal\AutomationProxies\WindowsMenu.cs (9)
460WinEventTracker.AddToNotificationList(IntPtr.Zero, new WinEventTracker.ProxyRaiseEvents(MenuEvents), _menuEvents, _menuEvents.Length);
481WinEventTracker.RemoveToNotificationList (IntPtr.Zero, _menuEvents, new WinEventTracker.ProxyRaiseEvents (MenuEvents), _menuEvents.Length);
1112private readonly static WinEventTracker.EvtIdProperty [] _menuEvents = new WinEventTracker.EvtIdProperty [] {
1113new WinEventTracker.EvtIdProperty(NativeMethods.EventSystemMenuPopupStart, ExpandCollapsePattern.ExpandCollapseStateProperty),
1114new WinEventTracker.EvtIdProperty(NativeMethods.EventSystemMenuPopupEnd, ExpandCollapsePattern.ExpandCollapseStateProperty),
1115new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectInvoke, InvokePattern.InvokedEvent)