You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In windows 11, using WebView2 version 1.0.3065.39, by default, the key combination CTRL+SHIFT+S pulls up the built-in screenshot tool.
This is not ideal when embedding the webview2 into a WinForms, UWP or WPF app.
I searched for a chromium flag to pass while creating a CoreWebView2EnvironmentOptions instance, but couldn't find any.
I already have AreBrowserAcceleratorKeysEnabled set to false, and it works for everything else.
ChatGPT also suggests intercepting that key combination in the AcceleratorKeyPressed event, but it's not available in the WinForms implementation.
Is there any way to inhibit the tool from appearing?
Thank you.
The text was updated successfully, but these errors were encountered:
In windows 11, using WebView2 version 1.0.3065.39, by default, the key combination CTRL+SHIFT+S pulls up the built-in screenshot tool.
This is not ideal when embedding the webview2 into a WinForms, UWP or WPF app.
I searched for a chromium flag to pass while creating a CoreWebView2EnvironmentOptions instance, but couldn't find any.
I already have
AreBrowserAcceleratorKeysEnabled
set to false, and it works for everything else.ChatGPT also suggests intercepting that key combination in the
AcceleratorKeyPressed
event, but it's not available in the WinForms implementation.Is there any way to inhibit the tool from appearing?
Thank you.
The text was updated successfully, but these errors were encountered: