Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

Windows 8.1 Dialog boxes not scaling automatically in per-monitor dpi aware application

$
0
0

I'm trying to make an existing application "per-monitor dpi aware".

From to this article , it would seem that dialog boxes would automatically scale when they are moved from a 100% to a 125% scaled monitor:

Scaling Layout

Many application windows and dialog boxes are created based on a layout from a resource file, which specifies the layout in logical units that are independent of DPI. These windows, in general, should require no special effort to make them DPI-aware.

1. I downloaded this sample:

Modal and modeless dialogs in MFC (MFCDialog)

2. I modified DPI awareness to be "per monitor"

However dialogs do not scale automatically when moved between monitors.



Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>