Click here to Skip to main content
15,897,095 members
Articles / Desktop Programming / MFC

Send and receive Message through WebView2 to/from your website

27 Feb 2021CPOL4 min read 36.7K   1.3K   10  
Establish the communication between WebView2 and JavaScript by which you can send and receive the message via WebView2
In this article I will show you how to run WebView2 in your dialog-based applications also we will see how we can send and receive the message to/from your website. You can directly invoke the Javascript method, also the same way Javascript can send the WebMessage to a C++ application. It's very very simple.
This is an old version of the currently published article.

Only logged in members can view this content

Please go to the MFC Table of Contents to view the list of available articles in this section.