[BUG-v573 or Windows10?] Another DPI question...
Posted: Tue Mar 16, 2021 2:20 pm
Can someone explain why Resolution does not change with [±] DPI Aware?
Also, why are my 2nd and 3rd desktops 4 and 5 and not in correct order?
Meaning, 2nd display is actually DISPLAY5?
My reason for this question is to position some frequently used app's at startup, similar to this thread.
EDIT: StrD() for DesktopResolutionXY(), thanks JHPJHP 
Also, why are my 2nd and 3rd desktops 4 and 5 and not in correct order?
Meaning, 2nd display is actually DISPLAY5?
My reason for this question is to position some frequently used app's at startup, similar to this thread.
Code: Select all
#CMA$ = ","
nDesktops = ExamineDesktops() - 1
Debug "DesktopName" + #CMA$ + "Width" + #CMA$ + "Height" + #CMA$ +
"ResolutionX" + #CMA$ + "ResolutionY" + #CMA$ +
"X" + #CMA$ + "Y"
For i = 0 To nDesktops
DTn$ = DesktopName(i)
Debug DesktopName(i) + #CMA$ + Str(DesktopWidth(i)) + #CMA$ + Str(DesktopHeight(i)) + #CMA$ +
StrD(DesktopResolutionX()) + #CMA$ + StrD(DesktopResolutionY()) + #CMA$ +
Str(DesktopX(i)) + #CMA$ + Str(DesktopY(i))
Next i
;[ ] DPI Aware
; DesktopName,Width,Height,ResolutionX,ResolutionY,X,Y
; \\.\DISPLAY1,1920,1080,1,1,0,0
; \\.\DISPLAY4,1920,1080,1,1,-13,-2160
; \\.\DISPLAY5,1920,1080,1,1,-13,-1080
;[x] DPI Aware
; DesktopName,Width,Height,ResolutionX,ResolutionY,X,Y
; \\.\DISPLAY1,1920,1080,1.25,1.25,0,0
; \\.\DISPLAY4,1920,1080,1.25,1.25,-13,-2160
; \\.\DISPLAY5,1920,1080,1.25,1.25,-13,-1080