It took me quite a while to find out the reason. The solution is actually easy: just put one line of code:
Code: Alles auswählen
If Not (@Compiled ) Then DllCall("User32.dll","bool","SetProcessDPIAware")
This way it will make my program looks the same size in my 4k screen.
Now maybe this code should be integrated into ISN AutoIt Studio? Once you choose the "Enable High DPI mode", this line of code should be run by default. This way ISN newbies will not be surprised to see a much larger rendered GUI.