SourceCode/Bond/Servo/TerminalDisplayDlg.cpp
@@ -104,7 +104,6 @@ void CTerminalDisplayDlg::Resize() { CWnd* pItem; CRect rcClient, rcItem; GetClientRect(&rcClient); rcClient.top += 38; @@ -148,6 +147,10 @@ this->m_webviewController = controller; this->m_webviewController->get_CoreWebView2(&this->m_webWiew); } else { OutputDebugString(_T("WebView2 Controller 创建失败!\n")); return E_FAIL; } // Add a few settings for the webview // The demo step is redundant since the values are the default settings wil::com_ptr<ICoreWebView2Settings> settings;