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
1. In Visual Studio, select **Debug** > **Stop Debugging**. Visual Studio closes the app.
356
357
357
358
You obtained, updated, built, and ran the Win32 sample app.
358
359
@@ -370,55 +371,37 @@ These steps assume you obtained, updated, built, and ran the Win32 sample app pe
370
371
371
372
The **WebView2APISample** sample and project is the main Win32 sample.
372
373
373
-
1. If the solution `WebView2Samples.sln` isn't already open in Visual Studio, open it; for example, press the **Windows** key, enter **Visual Studio 2022**, and then click **Open**.
374
-
375
-
The Visual Studio **Open recent** dialog opens.
376
-
377
-
1. Click **Continue without code**, in the lower right.
378
-
379
-
1. In Visual Studio 2022, select **File** > **Open** > **Project/Solution**.
380
-
381
-
The **Open Project/Solution** dialog opens.
382
-
383
-
1. Navigate to the `WebView2Samples\SampleApps\WebView2Samples.sln` file, and then click the **Open** button.
*Section 1: The top part of the **WebView2APISample** 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.
398
+
* The Win32 part can directly access native Windows APIs. The top part of the **WebView2APISample** 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.
416
399
417
-
*Section 2: The main part of the **WebView2APISample** app is a WebView that can be repurposed using standard web technologies (HTML/CSS/JavaScript). It can be navigated to websites or local content.
400
+
* The WebView is a container for standard web technologies (HTML, CSS, and JavaScript). The main part of the **WebView2APISample** app is a WebView that can be repurposed using standard web technologies (HTML/CSS/JavaScript). The WebView can be navigated to websites or local content.
418
401
419
402
This hybrid approach allows you to create and iterate faster using web technologies, while still being able to take advantage of native functionality. The **WebView2APISample** app demonstrates how the Win32 component and the WebView component can interact with each other.
420
403
421
-
This wide-ranging sample app has grown to include over 150 menuitems, demonstrating many WebView2 APIs in the Win32/C++ framework. The following sections focus on basics of hybrid app implementation.
404
+
This sample app has over 100 menuitems, which demonstrate many WebView2 APIs in the Win32/C++ framework. The following sections focus on basics of hybrid app implementation.
0 commit comments