There is a feature request already <https://xojo.com/issue/59961> but Xojo seems to be moving in the opposite direction. They completely removed the renderer option in the new DesktopHTMLViewer control, so it’s always CEF on Windows.
But I’ve been reconsidering my position on WebView2. I do use the MBS option, but I get lots of strange behavior that ends up making the control more problematic than just using CEF. I do things like check for to make sure support is actually available on the system, but I still get exceptions sometimes and the WebView2 installer needs to be rerun. Or it’ll just hang sometimes. I have no way of determining if these are my bugs, MBS bugs, or WebView2 bugs. So I’m less convinced WebView2 support is something that’ll actually be helpful.
If you are going to mess around with DLLs, I would think you’d be better off using MBS Plugins.
I was trying to figure out if there was a way to use WebView2 in pure Xojo code (using OLE / ActiveX and/or Declares) but I never came up with a way. I think microsoft has not made WebView2 available as an OLE control…