DesktopScaleX() / DesktopScaleY() on different scaled monitor
Posted: Fri Nov 26, 2021 1:56 pm
This is triggered by and possible related to another bug I'm trying to isolate.
I have a dual monitor setup. When both monitors have a different scale (in Windows 10 Scale and Layout / Change the size of text, apps and other items) this function only reports the scale from my primary monitor.
I.e. if monitor 1 is set to 150% and monitor 2 is set to 125%, it will report 150% for all monitors.
This is compiled with DPI aware set to ON.
I have a dual monitor setup. When both monitors have a different scale (in Windows 10 Scale and Layout / Change the size of text, apps and other items) this function only reports the scale from my primary monitor.
I.e. if monitor 1 is set to 150% and monitor 2 is set to 125%, it will report 150% for all monitors.
This is compiled with DPI aware set to ON.
Code: Select all
n = ExamineDesktops()
While nn < n
Debug "---"
Debug nn
Debug DesktopX(nn)
Debug DesktopY(nn)
Debug DesktopWidth(nn)
Debug DesktopHeight(nn)
Debug DesktopScaledX(100)
Debug DesktopScaledY(100)
nn = nn+1
Wend