This is a migrated thread and some comments may be shown as answers.

UI problems due to change in windows DPI settings

1 Answer 142 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Haroon
Top achievements
Rank 1
Haroon asked on 09 Jun 2010, 10:22 AM

Hello,

I have an application developed in vb.net 2005 and using Telerik RadControls for WinForms 2008 Q3 Sp2. I have two types of panel controls (RadPanel for gradient back color and system panel control) used on the form (windows form). I set the form's "AutoScaleMode" to "DPI". 

When I launch my application on a client machine with Windows XP OS and DPI more than 96, all controls adjust accordingly except the controls within RadPanel (as shown in attached image). Another problem with RadComboBox is that it doesn't adjust its size with respect to the size of text inside (unchanged due to DPI change). On the other hand when I use system panel control instead of RadPanel every thing looks fine. Please help me in this case. Also how can my application's UI be unaffected due to windows DPI change. Thanks

Thanks

Haroon 

1 Answer, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 15 Jun 2010, 07:41 AM
Hi Haroon,

Thank you for writing.

The Windows Forms technology by default is not DPI independent. In order to make windows forms controls DPI independent you need to create a new graphics device interface in order to replace the current Windows GDI and GDI+. Since this is completely impractical for almost all applications using Windows Forms I suggest you consider using our WPF control suite. WPF was designed with resolution independence in mind so it will serve your needs well if actually decide to switch to it.

Write again if you have other questions.

All the best,
Victor
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Haroon
Top achievements
Rank 1
Answers by
Victor
Telerik team
Share this question
or