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