Please enable JavaScript to view this site.

Reviewed and revised December 2023

tab(-10, AG_DPM); mode; chr(127);     Tab(-10,x) Syntax Notes

AG_DPM (110) activates Windows "Dpi Per Monitor awareness," which generally results in smaller but sharper display objects on higher resolution screens.

Parameters

Mode is is one of the following:

Mode

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().

Response:

none

Comments

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

Created with Help+Manual 9 and styled with Premium Pack Version 5 © by EC Software