Is there any way to support high-resolution displays for Java custom cursors? The usual method seems to be using Toolkit:
Toolkit.getDefaultToolkit().createCustomCursor(cursorImage, new Point(), "customCursor");
However, there is very little…
In a Winforms app, I followed the general guidance in how-to-write-winforms-code-that-auto-scales-to-system-font-and-dpi-settings and in .Net Framework high-dpi support to enable PerMonitorV2 DPI Scaling. I am using .NET Framework 4.8 on a system…
In my efforts to properly handle DPI changes in my application, I am using the following code to read the current scaling factor:
TYPE TZoom = BYTE;
FUNCTION OldStyleGetDpiForSystem : TZoom; cdecl;
VAR
DC : HDC;
X,Y,Z :…
I don't like the Windows auto scaling on high DPI settings. So I normally turn the scaling off by check the settings on Compatability of the exe properties.
I used Matlab compiler to generate an exe, but its Disable display scaling on high DPI…
Recently, I read this excellent page about DPI on Win32:
DPI and device-independent pixels
However, I am confused about GetDeviceCaps(hdc, LOGPIXELSX/Y) vs GetDpiForSystem(). On systems where I tested, all three values always match.
Questions:
Is…
I'm working on a old C++ MFC app using CToolbar for its toolbar compiling with Visual Studio 2017.
When the application is set to 'High DPI Aware' in the manifest settings (Project/Properties/Configuration Properties/Manifest Tool/Input and…
I want to make HeidiSQL high-dpi aware, which includes upscaling my one TImageList with lots of alpha-transparent PNG icons in it.
I have baken a procedure which does it, but it breaks the normal transparency and also the alpha-transparency, so the…
I have the new Dell XPS 15 Kaby Lake version with 3840x2160 resolution and text size set to 200%. Now, the Delphi XE2 looks terrible, some parts:
or I tried to set various settings via it's shortcut in Properties->Compatibility, I also tried to…
Do WPF applications normally scale correctly on high DPI screens out of the box (without further customisation of a manifest etc?). It was my understanding they did?
Two WPF applications I have written both appear blurry on my new laptop (running…
I have a 4k monitor and I've installed Qt 5.6 RC + VS 2015 + Qt5Package. Everything is set up, I can design and compile my applications developed previously on normal DPI PC and it runs perfectly.
But...
When I first opened layout.ui file of my…
I'm using the SplashScreen functionality in my WPF app (e.g. 400x200px PNG file). On screens with standard DPI, SplashScreen is displayed correctly, but on Retina displays or other High-DPI screens it looks very small. It is possible to provide more…
how to differentiate the 480X800 and 480X854 screens. we have an option to put the one image at the hdpi folder.in my case 480X800 image is does not support for the 480X854 image. it shows a blank space at the bottom.Any Idea?
Edit: i set the image…
I'm developing a Java application where several JPanels (not JFrames) have complex animations that necessitate drawing to an off-screen buffer before blitting to the display surface. A problem I'm having is that Swing is performing UI scaling for…