Incorect components positions

P

Piotr Szukalski

Hi!

I have faced a problem: I have an application based on Windows Forms
(Framework 1.1) - everything works just fine with 99% of computers, but
there is still 1% where components doesn't fit the window... It looks like
everything grows... but the window itself. The most interesting thing is
that I have the same problem with installer made with VS .NET 2003 ("Setup
Project"). Additional information: windows have 'AutoScale' property set
to 'true'. None of the 'infected' computers use non-standard fonts.

I've been trying to reproduce the error with my computer, but without any
luck (changed screen resolution, screen DPI, font size...).

Thanks in advance,
Piotrek
 
O

Olaf Baeyens

I have faced a problem: I have an application based on Windows Forms
(Framework 1.1) - everything works just fine with 99% of computers, but
there is still 1% where components doesn't fit the window... It looks like
everything grows... but the window itself. The most interesting thing is
that I have the same problem with installer made with VS .NET 2003 ("Setup
Project"). Additional information: windows have 'AutoScale' property set
to 'true'. None of the 'infected' computers use non-standard fonts.
I don't know about .NET winforms, but in the case of MFC dialog boxes, you
could get this problem because you used a font that was not installed on
that machine, so the Windows guessed a font and took the nearest one that
seemed to fit.

Check if you use the Windows standard font like Arial or Times Roman for
your forms that are installed on aal Windows versions in any language.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top