Windows 10 DPI settings code example
Example: windows DPI scalling registry fix
Press Windows Button + R, type “regedit”, and then click OK.
Navigate to the following registry subkey:
HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows > CurrentVersion > SideBySide
Right-click, select NEW > DWORD (32 bit) Value
Type PreferExternalManifest, and then press ENTER.
Right-click PreferExternalManifest, and then click Modify.
Enter Value Data 1 and select Decimal.
Click OK. Exit Registry Editor.