MS\Internal\AutomationProxies\ProxyHwnd.cs (31)
80WinEventTracker.EvtIdProperty [] aEvents;
96WinEventTracker.AddToNotificationList (_hwnd, _createOnEvent, aEvents, cEvents);
110WinEventTracker.EvtIdProperty [] aEvents;
126WinEventTracker.RemoveToNotificationList (_hwnd, aEvents, null, cEvents);
347internal WinEventTracker.ProxyRaiseEvents _createOnEvent = null;
409protected virtual WinEventTracker.EvtIdProperty [] EventToWinEvent (AutomationEvent idEvent, out int cEvent)
417return new WinEventTracker.EvtIdProperty[2]
419new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectSelection, idEvent),
420new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectStateChange, idEvent)
428return new WinEventTracker.EvtIdProperty [2]
430new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectSelectionAdd, idEvent),
431new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectSelection, idEvent)
445return new WinEventTracker.EvtIdProperty[4] {
446new WinEventTracker.EvtIdProperty (NativeMethods.EventSystemCaptureEnd, idEvent), // For SysHeaders
447new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectStateChange, idEvent),
448new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectValueChange, idEvent), // For WindowsScrollBarBits
449new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectInvoke, idEvent)
455return new WinEventTracker.EvtIdProperty[3] {
456new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectCreate, idEvent),
457new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectDestroy, idEvent),
458new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectReorder, idEvent)
464return new WinEventTracker.EvtIdProperty[2] {
465new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectLocationChange, idEvent),
466new WinEventTracker.EvtIdProperty (NativeMethods.EventObjectTextSelectionChanged, idEvent)
477return new WinEventTracker.EvtIdProperty [1] { new WinEventTracker.EvtIdProperty (idWinEvent, idEvent) };
525private WinEventTracker.EvtIdProperty [] PropertyToWinEvent (AutomationProperty [] aProps, out int cEvent)
535alEvents.Add (new WinEventTracker.EvtIdProperty (evtId [i], idProp));
540WinEventTracker.EvtIdProperty [] aEvtIdProperties = new WinEventTracker.EvtIdProperty [alEvents.Count];
545aEvtIdProperties [i] = (WinEventTracker.EvtIdProperty) alEvents [i];
MS\Internal\AutomationProxies\WindowsListView.cs (23)
63_groupEvents = new WinEventTracker.EvtIdProperty [3];
87_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
90WinEventTracker.AddToNotificationList (_hwnd, new WinEventTracker.ProxyRaiseEvents (WindowsListView.GroupSpecificEvents), _groupEvents, 3);
505WinEventTracker.EvtIdProperty[] aEvents = new WinEventTracker.EvtIdProperty[] { new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectCreate, TablePattern.ColumnHeadersProperty) };
506WinEventTracker.AddToNotificationList(hwndHeader, header._createOnEvent, aEvents, 1);
514WinEventTracker.EvtIdProperty[] aEvents = new WinEventTracker.EvtIdProperty[] { new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectSelection, eventId) };
515WinEventTracker.AddToNotificationList(_hwnd, _createOnEvent, aEvents, 1);
534WinEventTracker.EvtIdProperty[] aEvents = new WinEventTracker.EvtIdProperty[] { new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectCreate, TablePattern.ColumnHeadersProperty) };
535WinEventTracker.RemoveToNotificationList (hwndHeader, aEvents, header._createOnEvent, 1);
543WinEventTracker.EvtIdProperty[] aEvents = new WinEventTracker.EvtIdProperty[] { new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectSelection, eventId) };
544WinEventTracker.AddToNotificationList(_hwnd, _createOnEvent, aEvents, 1);
1158WinEventTracker.RemoveToNotificationList (hwnd, _groupEvents, null, 3);
1174WinEventTracker.RemoveToNotificationList (hwnd, _groupEvents, null, 3);
2027private readonly static WinEventTracker.EvtIdProperty [] _groupEvents;
MS\Internal\AutomationProxies\WindowsMenu.cs (9)
465WinEventTracker.AddToNotificationList(IntPtr.Zero, new WinEventTracker.ProxyRaiseEvents(MenuEvents), _menuEvents, _menuEvents.Length);
486WinEventTracker.RemoveToNotificationList (IntPtr.Zero, _menuEvents, new WinEventTracker.ProxyRaiseEvents (MenuEvents), _menuEvents.Length);
1117private readonly static WinEventTracker.EvtIdProperty [] _menuEvents = new WinEventTracker.EvtIdProperty [] {
1118new WinEventTracker.EvtIdProperty(NativeMethods.EventSystemMenuPopupStart, ExpandCollapsePattern.ExpandCollapseStateProperty),
1119new WinEventTracker.EvtIdProperty(NativeMethods.EventSystemMenuPopupEnd, ExpandCollapsePattern.ExpandCollapseStateProperty),
1120new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectInvoke, InvokePattern.InvokedEvent)