Controls Crop off in MFC when display changes by 125% in windows 7

I have an MFC application. When I ran it on Windows 7, I realized that when changing the display percentage on meduium - 125%, I have a TextControl that is disabled (the end of the sentence is not displayed.)

How can i fix this?

I could increase the size of the control in the dialog box, but I would prefer to do this through code. My application is localized, and I do not want to change all the dialogs in each language.

+3
source share
2 answers

, , , . DPI, , .

, ​​: Ultimate Toolbox Layout Manager, .

, :

  • , ID, , ( | | | )
  • .
  • OnInitDialog , . , , .
  • OnSize, .
+1
0

Source: https://habr.com/ru/post/1721318/


All Articles