"News Central" <Ba*@Bay.com> wrote in message
news:W_********************@baytsp.com...
I resize a control in a Form wth Scale mode set to vbInches. However,
the control's size changes in different screen resolution, I thought that
if Scale mode is set to vbInchs, then the control should have the same
size regardless of screen resolution... can anyone tell me why? thanks :>
First, a link to an article called "Background on Fonts" at MSDN:
http://msdn.microsoft.com/library/de...ml/ch17-02.asp
The end of the article is a sub-section called "The Logical Inch
Problem".
Second, a brief summary:
The screen is normally either 96 dots/inch (dpi) or 120 dpi. These are
the settings "Small Fonts" (normal) and "Large Fonts" in the Display
properties. Why 96 dpi? Partly because on most displays, small 8 pt text
would hard to read if it were real size. Also that at 96 dpi, a 640
pixel wide screen is equivalent to 6.7", the width of the printable area
of a typical 8.5" wide piece of paper.
Since displays range all over the place, from small laptops to wall size
projectors, there is no attempt to correlate this with an actual inch.
Who knows how far away your screen is from the projector, or what
adjustments you have made to your monitor display area?
Windows is setup this way intentionally, so that I can set my screen
resolution lower, and find that everything appears larger, allowing me
to sit back from the screen. Or set it higher, and see more stuff on
screen at once.
You could find out the screen resolution, and then account for that
while setting your control width. Frankly, I would find it quite
annoying if a program did not scale like other programs when I changed
screen resolution, but suit yourself.