===============================================================================
    SETRES MULTI-MONITOR v3.0 by Ian Sharpe
===============================================================================

  Command line program to change screen resolution, colour depth and refresh 
  frequency in Windows.

  If it does not work for you, please try v2.3 but be aware that this package
  is no longer maintained and it is possible that as Windows versions advance, 
  this program will cease to work with one of them.

-------------------------------------------------------------------------------
USAGE
	       SETRES mX:Y hXXXX vXXXX bXX fXX n d

  mX:Y = Monitor number Y attached to adapter number X
         See 'd' argument below.
 hXXXX = Horizontal size of display in pixels
 vXXXX = Vertical size
   bXX = Bit depth (controls maximum available colours)
         e.g. 8 bits = 256 colours. Other options = 16, 24, 32 bits
   fXX = Refresh frequency in Hertz, e.g. 60, 75, 85
         Check your monitor's manual for available settings
     n = No 'Press a key' wait after error report
     d = Display device list. Use numbers for mX:Y

 All parameters optional. Default values taken from current state of
 specified monitor. If no mX:Y then primary display is default.

-------------------------------------------------------------------------------
 EXAMPLES

   SETRES                  | Display help
   SETRES d                | Show list of display devices                      
   SETRES h1280 v1024      | Set vertical & horizontal res of default monitor
                           | leaving colour depth & frequency in current state
   SETRES m0:1 h1280 v1024 | Set vertical & horizontal res of monitor 1
                           | on adapter 0
   SETRES f75              | Set frequency to 75hz on default monitor leaving
                           | all other parameters in current state
   SETRES b24              | Set colour depth to 24 bits leaving all other
                           | parameters in current state

-------------------------------------------------------------------------------
WARNING

   SETRES does not check the capabilities of your hardware. Windows
   normally rejects unsupported settings but do not rely on this.
   If you specify unsupported settings, I do not expect adverse
   consequences BUT I WILL NOT ACCEPT RESPONSIBILITY IF THERE ARE

-------------------------------------------------------------------------------
KNOWN ISSUES

  Occasionally, setting Monitor 2 also changes Monitor 1. If this happens,
  run SetRes from a script (e.g. a .bat, .cmd or .vbs script) which sets 
  Monitor 1 as you want it after setting Monitor 2.

  The scripting option is the way to go if you want to change multiple display
  settings in one hit.

  Simply put the required command lines in a text file given the extension
  ".bat" and it will be runnable in the same way as a program.

-------------------------------------------------------------------------------
UPDATE HISTORY

Version 3.0 - November 2009
  Ground-up re-write in Borland Turbo C++.
  Added multi-monitor support and the 'd' parameter.

Version 2.1 - April 2005
  Changes the way the program behaves when it reports an error:
  - 'Press a key' prompt can be avoided with the N command line parameter
  - High CPU usage when prompt displayed is now eliminated
  - Prompt beeps and times out after 15 seconds
  The above changes were in response to a request from the user of a program
  that invokes Setres

Version 1 - December 2001
  Original release on UK's PC Plus magazine cover disc. Worked with a single 
  display only. Written with MS Visual Studio 6.

===============================================================================
This package was created by Ian Sharpe, a retired software developer 
and former computer magazine writer / editor.
Ian Sharpe relinquishes copyright.
Do as you wish with it! 
No need to ask permission.
No support provided.
===============================================================================