Developing Windows App for different screen resolutions

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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.
 
Back
Top