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
WebViewCtrlclass can be used to add a new WebView2 Control to a standard AHK GUI. - The
WebViewGuiclass can be used to create fully functional Web-based windows.- This class replaces the
WebViewTooclass. This name change was made to make a more clear distinction between aWebViewCtrlandWebViewGui.
- This class replaces the
- The
WebViewSizerclass should not be explicitly used, this is used by theWebViewGuiclass.- This class replaces the
Borderclass 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 (.localhostby 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
WebViewGuihave 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.