You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The WebView2APISample is an example of an application that embeds a WebView within a Win32 native application. It is built as a Win32 [Visual Studio 2019](https://visualstudio.microsoft.com/vs/) project and makes use of both C++ and HTML/CSS/JavaScript in the WebView2 environment.
@@ -41,7 +41,7 @@ This hybrid approach allows you to create and iterate faster using web technolog
41
41
42
42
Both of these parts of the Sample App are displayed in the image below:
1. Section One: The top part of the Sample App is a Win32 component written in C++. This part of the application takes in UI inputs from the user and uses them to control the WebView.
46
46
47
47
2. Section Two: The main part of the Sample App is a WebView that can be repurposed using standard web technologies (HTML/CSS/JavaScript). It can be navigated to websites or local content.
@@ -74,7 +74,7 @@ This component handles commands from the View menu, and any functionality relate
74
74
#### 8. ScenarioWebMessage.cpp and ScenarioWebMessage.html
75
75
This component is created when you select the Scenario/Web Messaging menu item. It implements an example application with a C++ part and an HTML+JavaScript part, which communicate with each other by asynchronously posting and recieving messages.
#### 9. ScenarioAddRemoteObject.cpp and ScenarioAddRemoteObject.html
80
80
This component is created when you select the Scenario/Remote Objects menu item. It demonstrates communication between the native app and the HTML webpage by means of remote object injection. The interface of the remote object is declared in RemoteObjectSample.idl, and the object itself is implemented in RemoteObjectSampleImpl.cpp.
@@ -180,7 +180,7 @@ First, navigate to the ScenarioWebMessage application within the Sample App, usi
180
180
181
181
The WebView should display a simple webpage titled: "WebMessage sample page". The code for this page can be found in the ScenarioWebMessage.html file.
0 commit comments