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

Method GetWindowBounds

SampleApps/WebView2APISample/AppWindow.cpp:2847–2852  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2845}
2846
2847RECT AppWindow::GetWindowBounds()
2848{
2849 RECT hwndBounds = {0};
2850 GetClientRect(m_mainWindow, &hwndBounds);
2851 return hwndBounds;
2852}
2853
2854std::wstring AppWindow::GetLocalPath(std::wstring relativePath, bool keep_exe_path)
2855{

Callers 1

ScenarioWebMessageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected