MCPcopy Create free account
hub / github.com/MicrosoftEdge/WebView2Samples / AsyncMessageBox

Method AsyncMessageBox

SampleApps/WebView2APISample/AppWindow.cpp:2899–2903  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2897}
2898
2899void AppWindow::AsyncMessageBox(std::wstring message, std::wstring title)
2900{
2901 RunAsync([this, message = std::move(message), title = std::move(title)]
2902 { MessageBox(m_mainWindow, message.c_str(), title.c_str(), MB_OK); });
2903}
2904
2905void AppWindow::EnterFullScreen()
2906{

Calls

no outgoing calls

Tested by

no test coverage detected