MS\Internal\AutomationProxies\ProxyHwnd.cs (31)
91WinEventTracker.EvtIdProperty [] aEvents;
107WinEventTracker.AddToNotificationList (_hwnd, _createOnEvent, aEvents, cEvents);
121WinEventTracker.EvtIdProperty [] aEvents;
137WinEventTracker.RemoveToNotificationList (_hwnd, aEvents, null, cEvents);
358internal WinEventTracker.ProxyRaiseEvents _createOnEvent = null;
420protected virtual WinEventTracker.EvtIdProperty [] EventToWinEvent (AutomationEvent idEvent, out int cEvent)
428return new WinEventTracker.EvtIdProperty[2]
430new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectSelection, idEvent),
431new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectStateChange, idEvent)
439return new WinEventTracker.EvtIdProperty [2]
441new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectSelectionAdd, idEvent),
442new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectSelection, idEvent)
456return new WinEventTracker.EvtIdProperty[4] {
457new WinEventTracker.EvtIdProperty (NativeMethods.EventSystemCaptureEnd, idEvent), // For SysHeaders
458new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectStateChange, idEvent),
459new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectValueChange, idEvent), // For WindowsScrollBarBits
460new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectInvoke, idEvent)
466return new WinEventTracker.EvtIdProperty[3] {
467new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectCreate, idEvent),
468new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectDestroy, idEvent),
469new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectReorder, idEvent)
475return new WinEventTracker.EvtIdProperty[2] {
476new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectLocationChange, idEvent),
477new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectTextSelectionChanged, idEvent)
488return new WinEventTracker.EvtIdProperty [1] { new WinEventTracker.EvtIdProperty (idWinEvent, idEvent) };
536private WinEventTracker.EvtIdProperty [] PropertyToWinEvent (AutomationProperty [] aProps, out int cEvent)
546alEvents.Add (new WinEventTracker.EvtIdProperty (evtId [i], idProp));
551WinEventTracker.EvtIdProperty [] aEvtIdProperties = new WinEventTracker.EvtIdProperty [alEvents.Count];
556aEvtIdProperties [i] = (WinEventTracker.EvtIdProperty) alEvents [i];
MS\Internal\AutomationProxies\WindowsListView.cs (23)
70_groupEvents = new WinEventTracker.EvtIdProperty [3];
94_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
97WinEventTracker.AddToNotificationList (_hwnd, new WinEventTracker.ProxyRaiseEvents (WindowsListView.GroupSpecificEvents), _groupEvents, 3);
512WinEventTracker.EvtIdProperty[] aEvents = new WinEventTracker.EvtIdProperty[] { new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectCreate, TablePattern.ColumnHeadersProperty) };
513WinEventTracker.AddToNotificationList(hwndHeader, header._createOnEvent, aEvents, 1);
521WinEventTracker.EvtIdProperty[] aEvents = new WinEventTracker.EvtIdProperty[] { new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectSelection, eventId) };
522WinEventTracker.AddToNotificationList(_hwnd, _createOnEvent, aEvents, 1);
541WinEventTracker.EvtIdProperty[] aEvents = new WinEventTracker.EvtIdProperty[] { new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectCreate, TablePattern.ColumnHeadersProperty) };
542WinEventTracker.RemoveToNotificationList (hwndHeader, aEvents, header._createOnEvent, 1);
550WinEventTracker.EvtIdProperty[] aEvents = new WinEventTracker.EvtIdProperty[] { new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectSelection, eventId) };
551WinEventTracker.AddToNotificationList(_hwnd, _createOnEvent, aEvents, 1);
1166WinEventTracker.RemoveToNotificationList (hwnd, _groupEvents, null, 3);
1182WinEventTracker.RemoveToNotificationList (hwnd, _groupEvents, null, 3);
2033private readonly static WinEventTracker.EvtIdProperty [] _groupEvents;
MS\Internal\AutomationProxies\WindowsMenu.cs (9)
476WinEventTracker.AddToNotificationList(IntPtr.Zero, new WinEventTracker.ProxyRaiseEvents(MenuEvents), _menuEvents, _menuEvents.Length);
497WinEventTracker.RemoveToNotificationList (IntPtr.Zero, _menuEvents, new WinEventTracker.ProxyRaiseEvents (MenuEvents), _menuEvents.Length);
1130private readonly static WinEventTracker.EvtIdProperty [] _menuEvents = new WinEventTracker.EvtIdProperty [] {
1131new WinEventTracker.EvtIdProperty(NativeMethods.EventSystemMenuPopupStart, ExpandCollapsePattern.ExpandCollapseStateProperty),
1132new WinEventTracker.EvtIdProperty(NativeMethods.EventSystemMenuPopupEnd, ExpandCollapsePattern.ExpandCollapseStateProperty),
1133new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectInvoke, InvokePattern.InvokedEvent)