On Windows 10, the system no longer requires restart (logoff/logon) to change DPI (text size).
My application is not ready for such a runtime change.
How does system inform an application that the DPI is changing? What message should I handle?
I'm using C++ Builder, so I'm looking for a pure WinAPI solution, no WinForms.
Since C++ Builder 10.3 you can use these form events:
Of course you also need to set DPI Awareness to PerMonitorV2 in the application manifest in the project settings.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With