Some time ago I fought doggedly with the issue:
Writing DPI-Aware Desktop and Win32 Applications
It was here:
MSDN: SetProcessDpiAwareness function
MSDN <> AutoIt : Developing a Per-Monitor DPI-Aware WPF Application
AppCompatFlags UDF
And I see other members also ask for this solution: Autoit and DPI awareness
And finaly solution comes thanks to UEZ, exactly here: DPI Resolution problem
Now I would like to present a working example.
The following scirpt is based on:
"C:\P