? TAB(-10, AG_DPM); mode; chr(127);
AG_DPM (110) activates Windows "Dpi Per Monitor awareness," which generally results in smaller but sharper display objects on higher resolution screens.
Mode is is one of the following:
Value |
Meaning |
---|---|
-1 |
DPI Unaware |
-2 |
DPI System Unaware |
-3 |
DPI Per Monitor Aware |
-4 |
DPI Per Monitor Aware Version 2 |
-5 |
DPI Unaware GDI Scaled |
-4 is equivalent to using the dpm command line switch. -1 is equivalent to not using the -dpm switch. For details on the other options, see the Microsoft documentation for SetThreadDpiAwarenessContext().
Note that as with all TAB(-10,xxx) commands, the implementation is on the client side, so no update of the server side is needed. If the client doesn't recognize the command, it will just be ignored.
History
2020 April, A-Shell 6.5.1680: Function added to A-Shell