Try
when drawing a text string
Macro Macro3050
Or let Windows auto-scale windows of your program. For it need to edit .manifest file of your .exe file: remove the XML that makes the program DPI-aware. But it creates other problems: 1. The window may not look so good. 2. Cannot be used many QM functions that automate other windows. 3. Maybe more.
when drawing a text string
Macro Macro3050
POINT p.x=100; p.y=100 ;;example: text coordinates at 100% text size
POINT pScaled=p
DpiScale pScaled 1
out F"{pScaled.x} {pScaled.y}"
;then draw text at point pScaledOr let Windows auto-scale windows of your program. For it need to edit .manifest file of your .exe file: remove the XML that makes the program DPI-aware. But it creates other problems: 1. The window may not look so good. 2. Cannot be used many QM functions that automate other windows. 3. Maybe more.
