wmi event active window/focus window

2019-07-19 05:36发布

Trying to trawl through the WMI/WQL MS Reference Data and the WMI Code Creator Event Classes, but can't find anything to indicate:

A) If this is possible B) How to do it

Ideally i'd like to be able to subscribe to WMI Events that are of the nature of the End User changing (UI) window (any Windows application).

1条回答
别忘想泡老子
2楼-- · 2019-07-19 06:06

You are using the wrong tool, there is not WMI classes or WMI events related to the UI of a windows application. instead you must use the Windows messages and the WinAPI.

查看更多
登录 后发表回答