PackageDescription: WebView2-COM-InterfacePointers-Generated


Web View 2 - COM - Interface Pointers - Generated

Last published: September 15, 2023 by 'thomasb'

Defines 150 Classes
Extends 150 Classes


This package contains the COM Wrapper classes needed to handle WebView2 using the interfaces it provides.
For the intentions and usage of these classes see the COM Connect Guide of the VisualWorks documentation.

These classes are mainly
- COMInterfacePointer classes for callout named IWeb*Pointer,
- COMInterfaceImplementation classes for callbacks like the WebKit delegates named IWeb*Implementation,
- COMInterface classes as the Interface of the two mentioned before, named IWeb*, like the WebView2 Interface with an additional leading I

Most of the classes are generated by the tools from the WebView2-COM-Tools package. Sometimes it is still necessary to correct code by hand, so be careful to not overwrite adjusted behaviour with generated methods.

For WebView2 initialization and reaction to bounds events, extension methods in the OSSystemSupport are implemented to move native windows by their handles.

The classes are generated from webview2.h through class WebView2ToolsApplication.