DPI issues

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

Are there any suggestions for developing large windows form applications
(1000+ forms some with 30-50 controls on the form) in .NET 2.0 that scale
properly in 96DPI and 120DPI.

Microsoft ISV is discussing to switch to WPF but am curious on others have
handled this.

We are seeing labels show up incorrectly, headers in Data grids, or other
images shown incorrectly. With all the new laptops today coming in high
resolutions for their native resolution and 120 DPI it is getting harder to
support just 96DPI.

If there are any suggestions or Must Do's like putting controls on panels,
or group boxes that seem to always fix this please advise.
 
I was able to get the application to look ok in 120 DPI by making sure that
all the controls had panels or group boxes around them and have the form set
to use autoscalemode = dpi.

Microsoft advised me agaist trying to hard code the positions if at all
possible. I would still like to see some enhancement for WinForms scaling in
the future that would allow the controls to grow with the form when in 120DPI
so we do not see extra blank space on the form when maximized.
--
Thanks,

Jeff


RobinS said:
Did you ever figure out how to do this? I'm having the same issue. When I
set the autoscalemode to DPI, it resizes stuff pretty well, except the forms
where we have hardcoded splitters. In those cases, I think I'm going to have
to calculate the positioning.

RobinS.
GoldMail.com
 
Back
Top