I'm currently using webview2
I used this.Topmost = true;
because the program should always stay on Top.
When using webview2, in certain sites, when the button in pressed, a new window may appear instead of changing the current window.
In this case, because this.Topmost = true;
in the current program, the newly opened window will go down.
I want to put the current program on top and the newely opened window above it.
Is there any way to detect the newly opened window?