MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / ResizeWindow

Function ResizeWindow

FastCopy/WindowHelper.cpp:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48void ResizeWindow(winrt::Microsoft::UI::Xaml::Window window, winrt::Windows::Graphics::SizeInt32 size)
49{
50 auto const dpi = GetDpiForWindow(GetHwnd(window));
51 size.Height = ScaleForDpi(size.Height, dpi);
52 size.Width = ScaleForDpi(size.Width, dpi);
53 GetAppWindow(window).Resize(size);
54}
55
56MONITORINFO MonitorInfo::GetFromPoint(POINT p)
57{

Callers 2

playWindowAnimationMethod · 0.85
MainWindowMethod · 0.85

Calls 4

GetHwndFunction · 0.85
ScaleForDpiFunction · 0.85
GetAppWindowFunction · 0.85
ResizeMethod · 0.80

Tested by

no test coverage detected