I'm developing an application that runs on Windows 10 and 8.1 and have run against the problem of scaling the non-client area (menu bar, title bar) when moving between monitors with different DPI. The client area is handled but the non-client area goes out of proportions. The DPI Awareness is set to PerMonitorAware (v1 since v2 is not available on Windows 8.1).
The function EnableNonClientDpiScaling does exactly what I would need (it is the accepted answer to all similar questions) - alas it is only part of the API from Windows 10 on.
Is there a way to manually handle this without the before mentioned function - in order to keep support for Windows 8.1? Or does supporting Windows 8.1 means it's not possible to resize the non-client area when moving between screens with different DPI?