Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add High DPI awareness #21

Open
pkulchenko opened this issue May 23, 2015 · 0 comments
Open

Add High DPI awareness #21

pkulchenko opened this issue May 23, 2015 · 0 comments

Comments

@pkulchenko
Copy link

Steve, it would be great to enable high DPI awareness support by adding GetProcessDpiAwareness and SetProcessDpiAwareness. There are also relevant constants.

From the documentation: "We recommend that you use the application manifest because that sets the DPI awareness level when the application is launched." I tried to implement it by enabling dpi awareness in the manifest, but it generated "application failed to start because its side-by-side configuration is not correct", so the API call is the only choice I have. Here is the manifest change (just in case someone is interested).

  <asmv3:application>
    <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2011/WindowsSettings">
      <dpiAware>true</dpiAware>
    </asmv3:windowsSettings>
  </asmv3:application>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant