Home > Net >  Pop-up CommonFileDialog DPI automatically becomes 100%
Pop-up CommonFileDialog DPI automatically becomes 100%

Time:10-05

As title, in the program by reference WindowsAPICodePack calls the CommonFileDialog

In low resolution normal computer

But in high resolution on a computer, as long as a popup CommonFileDialog, immediately become a 100% DIP software window interface, a pop-up dialog box but did not affect the normal display scale

O great god answer

CodePudding user response:


Pictured above, the software window significantly smaller and only half the normal size

Note: the currently displayed at 200%

CodePudding user response:

No one knows?
Pray god to help me

CodePudding user response:

Not met, you will try your window is set to not scaling

CodePudding user response:

Settings Window WindowState="Maximized"

CodePudding user response:

reference assky124 reply: 3/f
not met, you will try your window is set to not zoom


Don't scale, high resolution, below the window is too small

CodePudding user response:

No one has ever met?

Project is nearly completed, this problem must be solved, ask everybody to help!

CodePudding user response:

This form of property AutoScaleMode is how set up? Is the default system Font, that is, the form according to the system Font Settings to scaling,
What is another WindowsAPICodePack? Third-party libraries?

CodePudding user response:

The
reference 7 floor datafansbj response:
attribute AutoScaleMode is how to set up this form? Is the default system Font, that is, the form according to the system Font Settings to scaling,
Another is what? Third-party libraries?


AutoScaleMode all parameters are tried, fault still

WindowsAPICodePack is.net call CommonFileDialog support library, not quoted WindowsAPICodePack, can't use CommonFileDialog

CodePudding user response:

refer to the eighth floor shrimp brother reply:
Quote: refer to 7th floor datafansbj response:

This form of property AutoScaleMode is how set up? Is the default system Font, that is, the form according to the system Font Settings to scaling,
Another is what? Third-party libraries?


AutoScaleMode all parameters are tried, fault still

WindowsAPICodePack is.net call CommonFileDialog support library, not quoted WindowsAPICodePack, can't use CommonFileDialog

To change the software without the resolution of the current form window interface, such as the current resolution is 1024 * 768 will change the interface width and height, or forced to change the computer resolution!
I have a program, open the software is forced to change resolution, closed, restoring resolution

CodePudding user response:

Should be three class library WindowsAPICodePack play games, can change without this library, open the folder this functionality, the net have readily available,

CodePudding user response:

references to the tenth floor datafansbj response:
should be tripartite library WindowsAPICodePack play games, can change without this library, open the folder this feature, the net have readily available,


.net component tried, do not conform to the requirements of the customer, customer requirements can also select multiple folders,
.net own components, or is only support to choose multiple files and does not support multiple folders, either support only choose a single folder,
Online for a long time, to find WindowsAPICodePack CommonFileDialog support to select multiple folders at the same time,
In addition, WindowsAPICodePack is Microsoft's own things, but no integrated into the. In the.net framework

CodePudding user response:

Windows can be used on 10, 1607 new DPI apis, such as SetThreadDpiAwarenessContext
Refer to
https://blogs.windows.com/windowsdeveloper/2016/10/24/high-dpi-scaling-improvements-for-desktop-applications-and-mixed-mode-dpi-scaling-in-the-windows-10-anniversary-update/#pyM55BL1LeX32pV2.97

CodePudding user response:

The
refer to 12 floor Jiang Sheng reply:
Windows API can be used on 10, 1607 new DPI, such as SetThreadDpiAwarenessContext
Refer to
https://blogs.windows.com/windowsdeveloper/2016/10/24/high-dpi-scaling-improvements-for-desktop-applications-and-mixed-mode-dpi-scaling-in-the-windows-10-anniversary-update/#pyM55BL1LeX32pV2.97


Only supports win10, customer pass over there, is really depressed
  •  Tags:  
  • C #
  • Related