You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The explanations and code make it look like using GetSystemMetricsForDpi is enough. But for whatever reasons not all metrics are DPI-dependent. Notably, SM_CXEDGE, SM_CXBORDER and SM_CXDRAG (and their Y equivalents) are never scaled.