home *** CD-ROM | disk | FTP | other *** search
/ PC Plus 57 / ISSUE_57_JUN_1991 / SHORTIES / EDMOUSE.DOC next >
Encoding:
Text File  |  1991-01-01  |  2.2 KB  |  44 lines

  1.  EDMOUSE
  2.  Enable/Disable Mouse Driver Utility
  3.  Copyright (C) 1991 Wonder Box Software
  4.  Author : Nick Ross
  5.  
  6.  When using some VGA cards (even the ones that are register compatible
  7.  with the IBM standard) whilst a mouse driver is installed, it is not
  8.  possible to get the card to emulate CGA.  When the card switches to
  9.  CGA, the screen goes blank until another video mode is selected.  In
  10.  the past my only solution to the problem of needing to run CGA
  11.  applications was to enter the VGA card software supplied with the card
  12.  and select CGA mode, then reboot in this mode.     The fact that CGA was
  13.  called before the mouse driver would cause CGA to work as well as the
  14.  mouse driver.    Having to warm-boot one's system in order to run a
  15.  single application is obviously not desirable.     In the end, I wrote
  16.  what now forms the core of the EDMOUSE utility into my menu program in
  17.  order to turn the mouse driver off before selecting CGA, and then turn
  18.  it back on again after the CGA application had been used, and the user
  19.  is returned to the VGA menu environment.  I thought that there would be
  20.  other users who might find this routine useful so I built a utility
  21.  framework around it, to enable other users to use it as a command
  22.  line/batch file command.  EDMOUSE can also be used if, for example, you
  23.  wish to use a program that supports both a mouse and the keyboard
  24.  concurrently, and as such has a flashing mouse cursor constantly on,
  25.  to get rid of the flashing cursor if you don't wish to use the mouse
  26.  to control the program.
  27.  
  28.  EDMOUSE will work with all Microsoft compatible mouse drivers (no
  29.  checking is done to see if a mouse driver exists or not, if EDMOUSE is
  30.  run without a mouse driver installed the call to the mouse driver is
  31.  ignored and has no undesirable effect on the system).
  32.  
  33.          The command format for EDMOUSE is as follows :
  34.  
  35.   EDMOUSE [/E|/D|/H] (although the '/' character can be replaced with
  36.                 ':' if required)
  37.  
  38.    As can be seen, EDMOUSE supports three switches, used as follows :
  39.  
  40.             /E - to enable the mouse driver
  41.             /D - to disable the mouse driver
  42.   /H - to provide a help screen of the information provided here (this
  43.     can also be achieved by not providing EDMOUSE with any switches).
  44.