Skip to content
Advertisement

Windows scaling

Windows 8/10 has started to include a slider for how much GUI elements should scale, right click on desktop -> display. For a colleague with a laptop 4k-screen it’s 250% while another colleague using the same resolution on a 4k 28″ screen it’s 150%.

How do I read that value programmatically? I need to adjust some graphics so it looks the same on all screens.

I’m working in Java on a Eclipse RCP application, but a way that uses C or C++ through JNI works too. I’ve been looking around but can’t find anything.

Advertisement

Answer

Maybe this answer from here might help you:

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement