Category : webview2

It seams that in the current WebView2 that is online published by Microsoft is a bug. Symptoms: We get a crash when the WebView2 window is closed. In fact when ICoreWebView2Controller::Close is called. We rolled out the program in February. We don’t ship any additional runtime, we just include the WebView2Loader.dll into our setup. The ..

Read more

I’m trying handle key press event from my webview2 inside a Qt widget since the WebView2 control is based on the Component Object Model (COM). I’m trying to use ICoreWebView2Controller as IUnknown to wrap this inside a QAxObject or QAxWidget to get access to the COM object and fetch the webview event from my main ..

Read more

I’m looking into using the WebView2 component for rendering some UI things on Windows, and I have a question about resource loading: for loading "normal" resources (i.e. HTML, CSS, images, JavaScript, whatever), the component mostly takes care of handling the loading of those resources itself. But I wonder if there is a way to hook ..

Read more

Is there any way to expose a C++ function to wxWebView, so it can be called from Javascript? I use Edge (wxWebViewBackendEdge) as a backend for wxWebView. I remember that when I was doing something with Lua, there was a function to expose/bind a C++ function/method so Lua could call it. I hope this makes ..

Read more

I found this thread on GitHub, but seems that the code is not C++: WebView2 _webView2 = new WebView2(); CoreWebView2EnvironmentOptions options = new CoreWebView2EnvironmentOptions(); // Set a proxy pac for the browser // options.AdditionalBrowserArguments = "–proxy-pac-url=http://myproxy.com/my.pac"; // Set the proxy for the browser options.AdditionalBrowserArguments = "–proxy-server="foopy:99""; // Create the environment manually CoreWebView2Environment env = await ..

Read more