<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>On 10/11/22 12:23, Zach York wrote:<br>
    </p>
    <blockquote type="cite"
cite="mid:CAN+qs_PjA57UaDyx6mhnsVtHyO6T9wktwMnvSUu40p3Hf3ZQfw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Interesting, thanks for the quick response. So
        would a quick way to test this out be to change the scaling to
        100% from whatever it's set at?</div>
    </blockquote>
    <p>That would be an interesting step.  Another thing to try is to
      call the APIs to make your app "high-DPI aware".  You can do that
      for one process using this code:</p>
    <p>```</p>
    <p><font face="monospace">from ctypes import windll<br>
        user32 = windll.user32<br>
        user32.SetProcessDPIAware()
      </font></p>
    <p><font face="monospace">```</font><br
        class="Apple-interchange-newline">
    </p>
    <p>Or you can use a registry hack:<br>
    </p>
    <p><a class="moz-txt-link-freetext" href="https://stackoverflow.com/questions/43401709/marking-your-python-program-as-high-dpi-aware-seamlessly-windows">https://stackoverflow.com/questions/43401709/marking-your-python-program-as-high-dpi-aware-seamlessly-windows</a><br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Tim Roberts, <a class="moz-txt-link-abbreviated" href="mailto:timr@probo.com">timr@probo.com</a>
Providenza & Boekelheide, Inc.</pre>
  </body>
</html>