Re: Retrieve NATIVE screen resolution
- From: "Paul Randall" <paulr901@xxxxxxxxxxxx>
- Date: Sat, 14 Jul 2007 12:26:24 -0600
"mr_unreliable" <kindlyReplyToNewsgroup@xxxxxxxxxxx> wrote in message
news:eYBKSMjxHHA.3364@xxxxxxxxxxxxxxxxxxxxxxx
Allan, It may not be too much of a stretch to assume that:
either the system is already set up for the optimum monitor
resolution, _or_ that the user has changed the setting to
whatever he/she wants.
In either case, you could then take the approach of getting
the existing setting. You probably know how, but in case
you missed that, it is contained in the "VideoModeDescription"
property of the win32_VideoController class.
So here's the suggestion. Get the current setting (assuming
that is o.k. with the user), and save it somewhere. Run your
configuration script. When that is finished, then go retrieve
the original setting, and restore it.
Otherwise, if all else fails, google "Optimal Monitor Resolution".
Some people have posted tables, recommending optimal resolutions,
for different sized monitors. Without any other explicit info,
you could just use the value recommended by the table.
cheers, jw
Here's my two cents worth:
CRT type monitors don't have a native resolution. They are typically analog
devices (although the color dot/stripe and mask hardware inside the CRT tube
implies a certain digitalness).
Flat panel monitors are typically digital devices with a specific number of
pixels horizontaly and vertically. The display is sharpest when that
'native' resolution is used by the display adapter. Some systems allow you
to specify the native or smaller resolutions only -- when smaller
resolutions are specified, a corresponding smaller area of the display is
used and no sharpness is lost. Other systems allow you to specify a range
of non-native resolutions and interpolate as necessary to produce an image
which fills the screen but which is noticably fuzzy as compared to images in
native resolution, and which may be distorted if the native pixel width to
height ratio is not maintained. 1024 by 768 will look a little fuzzy and
perhaps distorted on a 1440 by 900 wide screen monitor.
I suppose a script could be written to use WMI to get a list of monitors the
organization uses, and then search the net for the digital ones and maybe to
classify the analog monitors by their width to height ration (I assume there
are widescreen CRT monitors) to build the table that Allan's script could
use to set the desired resolution. Perhaps the table could be built by hand
for the 20 or 50 most-used monitors.
-Paul Randall
.
- References:
- Re: Retrieve NATIVE screen resolution
- From: mr_unreliable
- Re: Retrieve NATIVE screen resolution
- From: Allan Fog
- Re: Retrieve NATIVE screen resolution
- From: mr_unreliable
- Re: Retrieve NATIVE screen resolution
- Prev by Date: Re: File Copying with Win Shell Object
- Next by Date: Re: File Copying with Win Shell Object
- Previous by thread: Re: Retrieve NATIVE screen resolution
- Next by thread: File Copying with Win Shell Object
- Index(es):
Relevant Pages
|