By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,198 Members | 1,412 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,198 IT Pros & Developers. It's quick & easy.

How to handle screen resolution problem while designing windows forms using C#?

P: n/a
Hi All,
I am new to this group, and I would like to know how we can design a
windows application which would automatically change the form size,
controls size, position etc., as and when the screen resolution is
changed. Reason being, I have designed an windows application using C#

on 1024x728 resolution, and when I installed on my testing machine
which is 1280x1024, the screen has become small, and my testing team
has placed this as an issue. I had tried in various ways, but not able

to get a proper solution. So, I would like to have some one give me a
best solution which can solve this problem.

Mar 30 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
On your Windows Forms you could set WindowState to Maximized and use Anchor
and Dock properties of controls of the forms to scale with the form.
Mar 30 '06 #2

P: n/a

"Visu" <ds*********@yahoo.co.in> wrote in message
news:11*********************@i39g2000cwa.googlegro ups.com...
Hi All,
I am new to this group, and I would like to know how we can design a
windows application which would automatically change the form size,
controls size, position etc., as and when the screen resolution is
changed. Reason being, I have designed an windows application using C#

on 1024x728 resolution, and when I installed on my testing machine
which is 1280x1024, the screen has become small, and my testing team
has placed this as an issue. I had tried in various ways, but not able

to get a proper solution. So, I would like to have some one give me a
best solution which can solve this problem.


Be very careful where you are going with this - my partner has been having a
lot of trouble seeing some text in an app she uses. In the end I advised her
to drop the screen size to 800x600 which did the trick. Your solution would
prevent that.

I think you should allow user configurable fonts and use auto sizing
controls to fit them.

Personally I know lots of people (not including me) who like having lots and
lots of tiny text on their screens so just making it bigger on a 1280x1024
wouldn't please everyone whatever testing say.
Mar 30 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.