Home > Software engineering >  MFC program of how to fit under win10 high scores screen?
MFC program of how to fit under win10 high scores screen?

Time:09-15

MFC program of how to fit on the high screen? If modify project properties for identification of dpi is, after the program runs controls will be dislocation, if do not change the dpi option, the interface will become blurred, but controls would not happen, is there a good way to fit?

CodePudding user response:

Put up the font is ok?

CodePudding user response:

DPI related apis and registry Settings

CodePudding user response:

Let him automatically adaptation, general Windows adapter can make do with myself, want to be their adaptation on several floor plans, otherwise than Windows own adaptation effect, however,

CodePudding user response:

There is a very troublesome method:
Remember that the resolution of the original table
Extract the resolution of the new platform
Calculate the percentage
According to the proportion will not an element on the interface coordinates to calculate a
.
Very hard, if you have patience, can have a try

CodePudding user response:

According to the proportion design where each interface element ratio, the possible resolution are given respectively corresponding to adjust the code element position, then run, read the current display resolution, make corresponding adjustment, very troublesome,
  • Related