CwWebViewSupport
Description
Official support for WebView2 was added in the VAST 2024 (13.0.0) release to bi-directionally control web page views in VAST applications using Microsoft Edge® and Smalltalk.
Before adding WebView2 controls to an application, you need to load a VAST Platform WebView Support feature into your image.
Overview
The CwWebViewSupport module follows patterns in the Common Widget subsystem which enables developers to design and build a graphical interface which controls views on web pages. The Common Widgets generally implement platform specific implementation in an OSWidget.
Here the common widget is <CwWebView>, the platform dependent code is in<OSWebViewEdge>. In addition, <CwWebView> relies on an environment<CwWebViewEnvironmentOptions> configured at startup, to display web pages. WinAPI/OLE protocols are used to respond to WebView2 events. This will be discussed in more detail below.
Last modified date: 01/22/2024