Allows for use of the WebView2 Framework within AHK to create Web Controls and Web-based GUIs
- If you have current scripts using this library, you will need to update your scripts.
- The class has been split into three parts.
- The
WebViewCtrl
class can be used to add a new WebView2 Control to a standard AHK GUI. - The
WebViewGui
class can be used to create fully functional Web-based windows.- This class replaces the
WebViewToo
class. This name change was made to make a more clear distinction between aWebViewCtrl
andWebViewGui
.
- This class replaces the
- The
WebViewSizer
class should not be explicitly used, this is used by theWebViewGui
class.- This class replaces the
Border
class that was added in the last update.
- This class replaces the
- The
- Navigation routing has been overhauled to provider a smoother end-user process.
- The
Close()
method has been removed, you should now use theHide()
method orWinClose()
function directly. - The
EnableGlobal()
method is now automatically intialized for your default host (.localhost
by default).- To enable it for other hosts you can now use the
AllowGlobalAccessFor()
method.
- To enable it for other hosts you can now use the
- The
Load()
method has been removed, you should now useNavigate()
- Several GUI related methods and properties for
WebViewGui
have been removed as the class now properly extends native GUIs.- These include
Minimize()
,Maximize()
,Opt()
,BackColor
,Name
, etc. - NOTE: These still work, they just no longer needed to be defined.
- These include
- Fixed window displaying as a small grey box during creation on single-monitor setups.