MicrosoftEdge / WebView2Samples

Microsoft Edge WebView2 samples
828 stars 459 forks source link

MFC Sample #13

Open Jbuckmsi opened 4 years ago

Jbuckmsi commented 4 years ago

Any chance of getting a basic MFC SDI or MDI example?

rflsouza commented 4 years ago

I do not know if I understand what you want, because it is easy to use this is an API that you can use in MFC, their examples are made in win32 you just need to use it in the best way in your application.

See if this is what you wanted, I did an example WebView2BrowserMFC_MDI project with a BrowserWindow class, I'm not an expert like them, but I believe this will work well! I didn't do all the methods of webview2, but now it's complementary to what you want to use!

In the example we have 2 classes to show the use of BrowserWindow using win32 and the class BrowserWindowEdge using CWnd of MFC