# AG\_DPM
> [HTML Version](ag_dpm.htm)
_Reviewed and revised December 2023_
**tab(-10, AG\_DPM); mode; chr(127);** [Tab(-10,x) Syntax Notes](ag_xxx_syntax-notes.htm.md)
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](dpi_per_monitor.htm.md). -1 is equivalent to not using the -dpm switch. For details on the other options, see the Microsoft documentation for [SetThreadDpiAwarenessContext()](https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-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