Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [dpi-aware]

This name is used for Windows Applications that behave correctly in high DPI windows mode

0 votes
0 answers
93 views

Windows Form - CefSharp automatically resizes window on monitor 125%

I have 2 monitors: the main monitor has 125% of zoom (laptop display), the second one is a secondary monitor that has a standard zoom of 100%. Now i have a Winform application (.NET Framework 4.8) ...
Luca Giordano's user avatar
0 votes
0 answers
11 views

ClickOnce Application via Remote Desktop Application rendering in DPI_unaware mode

Created remote desktop application which calls the clickonce application. Remote desktop application is unable to open in the scale present initially, it always opens with 100% scale even if the ...
user3313779's user avatar
1 vote
0 answers
38 views

How to draw a 6 inch width gdi+ rectangle that is 6 inches regardless of monitor resolution or size;

I have at the start done: if (SetProcessDpiAwareness(PROCESS_PER_MONITOR_DPI_AWARE) != S_OK) OutputDebugStringA("WARNING: could not set DPI awareness"); if (!SetProcessDpiAwarenessContext(...
poby's user avatar
  • 1,716
0 votes
0 answers
65 views

How to use "wx_dpi_aware.manifest" of wxWidgets wxMSW with MinGW and CMake?

I'm using wxWidgets on Windows with MinGW64 toolchain and CMake. I am confused about how to make my program DPI-awared. When using Visual Studio, "wx_dpi_aware.manifest" can simply solve the ...
通配符's user avatar
0 votes
1 answer
182 views

WPF Window title bar different size with PerMonitorV2 or PerMonitor

I have a wpf application (.Net 7) with DPI Awareness but I have some problems with the sizes of windows title bar with different DPI scale in different pc's. I two pc's has Windows 11 version 22H2. ...
Federico Portillo's user avatar
0 votes
0 answers
181 views

ClickOnce: the manifest may not be valid or the file could not be opened DPI Aware

I change my WPF application to be DPI awarness and when I update the version with clickonce I have the following message: PLATFORM VERSION INFO Windows : 10.0.14393.0 (Win32NT) Common ...
Federico Portillo's user avatar
0 votes
1 answer
83 views

How to setup a WinForms application size when deploying with Visual Studio Installer?

I have a WinForms application, everything works fine when I run it. If I publish with the built-in publish tool, it also works fine. The form is the size I want after installation. built-in publish ...
nebula's user avatar
  • 1
0 votes
0 answers
83 views

Is it possible to automatically adjust the size of the title bar in WPF based on monitor DPI scaling?

I'm trying to make the title bar of a WPF main window automatically adjust its size to the DPI scaling of the monitor that's showing the application. Unfortunately, I couldn't find anything useful on ...
ironsight's user avatar
0 votes
0 answers
169 views

Why is the entire form resizing when opening CommonOpenFileDialog in C#?

I have a problem I couldn't quite find the fix for. To make it clearer, I will post pictures, instead of just trying to describe it with text. My base application looks like this: But If I try to ...
Aakuho's user avatar
  • 33
0 votes
1 answer
517 views

Win32: How to make popup window match monitor DPI

I'm working on a Win32 app with multiple windows, some of which use WS_POPUPWINDOW style (no caption) and some of which use WS_OVERLAPPEDWINDOW style. The app has System DPI awareness. When I move the ...
Jacob van't Hoog's user avatar
0 votes
1 answer
920 views

Does WPF Per Monitor DPI awareness really work by default?

Recently I started looking into Per Monitor DPI awareness for windows 10 and noticed that it should be supported by default as I'm using .net5.0 if there are a couple of things configured. So I went ...
Akos's user avatar
  • 220
3 votes
0 answers
2k views

Set DPI scaling for CefSharp window only in WPF application

I'm trying to convert IE web browser window into a CefSharp (v 96.0.180) window into as a part of a larger WPF application. The application itself follows the system dpi level (resizes UI with it), ...
EmeraldP's user avatar
1 vote
1 answer
416 views

VC++08 make MFC apps DPI aware without updating VC++

I may not have the option to simply update to a more recent VC++ version as would be ideal - the project is big and the update could break a lot of things, plus my lead may tell me not to pursue this. ...
PBandJ's user avatar
  • 41
1 vote
0 answers
342 views

No video preview image from DirectShow

I have an old .Net application that I wrote years ago that includes a video preview window. This uses a 3rd party library called DirectShowLib-2005.dll. My code is based on some example code I found ...
Phil Preen's user avatar
2 votes
2 answers
1k views

Why Can't I Turn Off DpiAwareness in Python After Turning It On?

I use this code to turn on Dpi Awareness, in Python 2.7, under Win10 import ctypes import platform ctypes.windll.shcore.SetProcessDpiAwareness(True) but ctypes.windll.shcore.SetProcessDpiAwareness(...
jvbSherman's user avatar

15 30 50 per page
1
2 3 4 5 6