Scaling...again
Posted: Thu Sep 29, 2022 3:24 am
Hi,
I'm currently writing a tool which shall run on a Surface-Tablet. These are usually scaled. The following code always returns "100", regardless of the set scaling:
Shouldn't the values be different? And yes, I activated the "DPI scaling"-function.
Windows 10H2, PureBasic 6.0 ASM.
I'm currently writing a tool which shall run on a Surface-Tablet. These are usually scaled. The following code always returns "100", regardless of the set scaling:
Code: Select all
If ExamineDesktops()
Debug DesktopUnscaledX(100)
Debug DesktopUnscaledY(100)
Debug DesktopScaledX(100)
Debug DesktopScaledY(100)
EndIf
Windows 10H2, PureBasic 6.0 ASM.