Closed tuarua closed 6 years ago
Just starting my ramp up on using Edge over CEF. Any links that point to using the Edge webView in a C++, Win32 app? Thanks!
Actually, I'm reviewing this now... might be helpful to someone:
https://github.com/rjmurillo/webview-samples/tree/master/WebViewSamples.Win32
I've converted the win32 cpp WRL sample to cppwinrt: https://github.com/fobrs/WebViewSample.Win32.cppwinrt
1.7.0 will contain the first beta-grade support for Modern WebView (Edge) The feature set is much lighter than the CEF based view.
There are still many bugs and features missing from Microsoft's offering such as:
On the + side
You can use WebView.CapturePreviewToStreamAsync() to capture a bitmap of the WebView and get a Stream for it.
Use WebViewControl.Scale to set the zoom.
Use WebView.NavigateToString to display a html string
@fobrs The first 2 have NOT been implemented yet in the Win32 control. NavigateToString causes a crash.
Please consider this issue is here for me to inform my users what to expect in the upcoming release of my project.
Investigate new version 4.0.0 to see what additional APIs are available
Version 1.9.0 will include the following additions:
Be careful when using the Edge WebView: https://github.com/windows-toolkit/Microsoft.Toolkit.Win32/issues/83
Microsoft have announced that a future Windows update will include an Edge based Win32 control to replace the old IE11 based control.
https://youtu.be/D6YAJxFsmuM?t=277
This ticket is to track updates and investigate ability to choose this control or existing CEF browser.
Possible Benefits