How To Create a Resolution-Independent Form (182070)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q182070 SUMMARY
If a Form takes up most of the screen at 640 x 480 (VGA) resolution, it
only takes up a small portion of the screen at 1600 x 1200. Normally,
this is exactly what you want to happen, but some circumstances arise where
you want a Form to retain the same proportional size and position
regardless of screen resolution. This article discusses a simple way to accomplish this for an Single Document Interface (SDI) application. It does not address special considerations for Multiple Document Interface (MDI) applications.
REFERENCES
For additional information, please see the following articles in the
Microsoft Knowledge Base:
187562
How To Resize the Controls in SSTab When Form is Resized
253940 PRB: Incorrect Screen Object Width/Height After Desktop Resized
206907 BUG: Reposition or Resize a Control After Changing Font Causes Incorrect Positioning and Sizing
Modification Type: | Minor | Last Reviewed: | 3/10/2005 |
---|
Keywords: | kbdisplay kbForms kbhowto KB182070 |
---|
|