Developing Windows App for different screen resolutions

G

Guest

Hi,
Our project requirement is to develop app for 2 different screen resolutions
1024x768 and .. 800x600.so basically I want my forms loaded with controls
behave expectedly when screen resolution changes..how can this be done?
thanks
 
M

Mehdi

Our project requirement is to develop app for 2 different screen resolutions
1024x768 and .. 800x600.so basically I want my forms loaded with controls
behave expectedly when screen resolution changes..how can this be done?

Use the Dock and Anchor properties of your controls to make sure that they
resize and reposition themselves properly whenever the form is resized.
Resize the form manually in the designer to see the effects and correct any
mistake. The ideal would be to have 2 monitors connected to your computer,
one set to 1024x768 and the other set to 800x600. In some tricky
situations, you may have to handle the resize event to manually calculate
the size and position of some controls but in the majority of cases clever
use of the Dock and Anchor properties is sufficient.
 

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