Click here to Skip to main content
15,881,281 members
Please Sign up or sign in to vote.
2.56/5 (3 votes)
See more:
In my application i have customized message box which is derived from windows.form class(.net 4.0 framework).Textbox is used to display text in message box.
Now i have changed framework from 4.0 to 4.6
Problem:After changing framework 4.0 to 4.6 the text in message box cuts.
Please help.
Posted

1 solution

Your problem is due to high DPI support. .net 4.5.2 introduced High DPI support for Windows Forms controls and .net 4.6 expanded that functionality. To overcome this issue make your control high DPI aware. This might help you: http://stackoverflow.com/questions/22735174/how-to-write-winforms-code-that-auto-scales-to-system-font-and-dpi-settings[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900