/// <summary> /// Initializes a new instance of the AccessibleEventArgs class. /// </summary> public AccessibleEventArgs(AccessibleEventType eventType, IntPtr hwnd, uint idObject, uint idChild, uint dwEventThread, uint dwmsEventTime) { this.eventType = eventType; this.hWnd = hwnd; this.idObject = idObject; this.idChild = idChild; this.dwEventThread = dwEventThread; this.dwmsEventTime = dwmsEventTime; }
/// <summary> /// Initializes a new instance of the AccessibleEventArgs class. /// </summary> public AccessibleEventArgs(AccessibleEventType eventType, IntPtr hwnd, uint idObject, uint idChild, uint dwEventThread, uint dwmsEventTime) { EventType = eventType; HWnd = hwnd; ObjectID = idObject; ChildID = idChild; Thread = dwEventThread; Time = dwmsEventTime; }
private void InternalCallback(IntPtr hWinEventHook, AccessibleEventType eventType, IntPtr hwnd, uint idObject, uint idChild, uint dwEventThread, uint dwmsEventTime) { if (hWinEventHook != handle) { return; } AccessibleEventArgs aea = new AccessibleEventArgs(eventType, hwnd, idObject, idChild, dwEventThread, dwmsEventTime); if (EventOccurred != null) { EventOccurred(this, aea); } }
private static extern IntPtr SetWinEventHook(AccessibleEventType eventMin, AccessibleEventType eventMax, IntPtr hmodWinEventProc, WinEventDelegate lpfnWinEventProc, uint idProcess, uint idThread, uint dwFlags);
private void InternalCallback(IntPtr hWinEventHook, AccessibleEventType eventType, IntPtr hwnd, uint idObject, uint idChild, uint dwEventThread, uint dwmsEventTime) { if (hWinEventHook != handle) return; AccessibleEventArgs aea = new AccessibleEventArgs(eventType, hwnd, idObject, idChild, dwEventThread, dwmsEventTime); if (EventOccurred != null) EventOccurred(this, aea); }
public AccessibleEventArgs(AccessibleEventType eventType, IntPtr hwnd, uint idObject, uint idChild, uint dwEventThread, uint dwmsEventTime) { this.eventType = eventType; this.hWnd = hwnd; this.idObject = idObject; this.idChild = idChild; this.dwEventThread = dwEventThread; this.dwmsEventTime = dwmsEventTime; }