IUIAutomationEventHandlerGroup 介面 (uiautomationclient.h)
公開方法,以透過 IUIAutomation6 中定義的 CreateEventHandlerGroup 和 AddEventHandlerGroup 方法,將一或多個事件新增至集合以進行大量註冊。
重要Microsoft 使用者介面自動化 客戶端應該使用處理程式群組方法來註冊事件接聽程式,而不是各種 IUIAutomation 命名空間中定義的個別事件註冊方法。
繼承
IUIAutomationEventHandlerGroup 介面繼承自 IUnknown 介面。
方法
IUIAutomationEventHandlerGroup 介面具有這些方法。
IUIAutomationEventHandlerGroup::AddActiveTextPositionChangedEventHandler 在事件處理程式群組中註冊方法 (,) 處理作用中文字位置變更時處理的方法。 |
IUIAutomationEventHandlerGroup::AddAutomationEventHandler 註冊處理 Microsoft 使用者介面自動化 事件的方法。 |
IUIAutomationEventHandlerGroup::AddChangesEventHandler 註冊處理變更事件的方法。 |
IUIAutomationEventHandlerGroup::AddNotificationEventHandler 註冊處理通知事件的方法。 |
IUIAutomationEventHandlerGroup::AddPropertyChangedEventHandler 註冊處理屬性變更事件的方法。 |
IUIAutomationEventHandlerGroup::AddStructureChangedEventHandler 註冊處理結構變更事件的方法。 |
IUIAutomationEventHandlerGroup::AddTextEditTextChangedEventHandler 註冊處理程式設計文字編輯事件的方法。 |
規格需求
需求 | 值 |
---|---|
最低支援的用戶端 | Windows 10 版本 1809 [僅限傳統型應用程式] |
最低支援的伺服器 | Windows Server 版本 1709 [僅限傳統型應用程式] |
目標平台 | Windows |
標頭 | uiautomationclient.h (包含 UIAutomation.h) |