david-risney / WebView2Utilities

WebView2Utilities helps you develop and debug Microsoft Edge WebView2 apps.
https://david-risney.github.io/WebView2Utilities/
MIT License
25 stars 7 forks source link

New method of finding parent/child doesn't work for apps without top level HWNDs #55

Open david-risney opened 1 year ago

david-risney commented 1 year ago

The PowerToys app has a tool to show file previews in Explorer.exe using WebView2. It runs in prevhost.exe and doesn't have its own top level HWND but rather seems to be parented to explorer's.

Should add a checkbox to try harder to find webview2 runtimes and enum all top level windows not limiting to those of webview2 host apps and also check parent/child pid