-
Sep 14th, 2016, 03:49 AM
#1
Thread Starter
Addicted Member
-
Sep 14th, 2016, 05:14 AM
#2
Re: Form blurry at runtime
Hi Mmiller524,
From what we can see, I'd suggest either:
1. Reduce the font size in the Labels (TextBoxes ?)
Or,
2. Make the Labels as large as you can, in which case maybe remove any borders and ensure the Labels' BackColor are the same as the background.
What is the source of the image design? Is it a photo image? If so, try making the image resolution greater. Also if it's a photo, try making it a .PNG file.
Poppa.
PS. You might want to set the TextAlign to MiddleCenter, to improve the appearance.
Pop.
Along with the sunshine there has to be a little rain sometime.
-
Sep 14th, 2016, 05:16 AM
#3
Re: Form blurry at runtime
That is a known problem with high DPI settings for the newer high resolution displays.
Did you do a internet search on form blurry before posting this question?
-
Sep 14th, 2016, 05:56 AM
#4
Thread Starter
Addicted Member
Re: Form blurry at runtime
I did yes, resizing applications to 100% rather than the 200% they are sized at now (as siuggested by other forums) makes the display much smaller in general - as seen below
unfortunately this involves running my entire system in a much larger res, on a 13 inch screen this is not ideal
thanks for your help
-
Sep 14th, 2016, 06:11 AM
#5
Re: Form blurry at runtime
I thought the other suggested solution would be to use a wpf project instead of a winform project.
I have a higher display laptop which I generally run at 125 to 150 percent, but I guess haven't had a project yet that has given me a problem (pretty simple projects), so haven't had to try to work around the issue myself, and can't really offer an alternative, not knowing what combination of controls/drawing you're doing to have the issue.
-
Sep 14th, 2016, 09:26 AM
#6
Thread Starter
Addicted Member
Re: Form blurry at runtime
thanks for your help, images are vectors so that shouldnt necessarily be the cause,
-
Sep 14th, 2016, 10:05 AM
#7
Re: Form blurry at runtime
Go to VS Project Menu->ProjName Properties->Application Tab->Click on "View Window Settings" button. This will open the app.Manifest file.
Locate this block:
Code:
<!--
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
</windowsSettings>
</application>
-->
Delete the first line "<!--" and the last line " -->".
This will declare your application as DPI aware and will prevent Windows DWM from applying a scale factor to your application.
-
Sep 15th, 2016, 04:42 AM
#8
Thread Starter
Addicted Member
Re: Form blurry at runtime
FIXED! worked perfectly, thank you TnTinMN
-
Jul 8th, 2018, 09:05 AM
#9
New Member
Re: Form blurry at runtime
Originally Posted by TnTinMN
Go to VS Project Menu->ProjName Properties->Application Tab->Click on "View Window Settings" button. This will open the app.Manifest file.
Locate this block:
Code:
<!--
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
</windowsSettings>
</application>
-->
Delete the first line "<!--" and the last line " -->".
This will declare your application as DPI aware and will prevent Windows DWM from applying a scale factor to your application.
THANK YOU SO MUCH!!!!!!!!!!!!!! YOUR THE ONLY ONE ON THE INTERNET THAT FIXED MY PROBLEM WITH THE BLURRY STUFF AS WELL!!!
NOW I HAVE A HD RESOLUTION FOR MY FORM!!!
Made this account specifically just to say thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
:D :D :D :D :D :D :D :D :D :D :D :D :D
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|