SHORTIES\EDMOUSE.DOC  ·  DOC  ·  2.2 KB  ·  1991-06-01  ·  from PCPlus_Issue-57_Jun-1991_FluxEngine-360Kb
 EDMOUSE
 Enable/Disable Mouse Driver Utility
 Copyright (C) 1991 Wonder Box Software
 Author : Nick Ross

 When using some VGA cards (even the ones that are register compatible
 with the IBM standard) whilst a mouse driver is installed, it is not
 possible to get the card to emulate CGA.  When the card switches to
 CGA, the screen goes blank until another video mode is selected.  In
 the past my only solution to the problem of needing to run CGA
 applications was to enter the VGA card software supplied with the card
 and select CGA mode, then reboot in this mode.	 The fact that CGA was
 called before the mouse driver would cause CGA to work as well as the
 mouse driver.	Having to warm-boot one's system in order to run a
 single application is obviously not desirable.	 In the end, I wrote
 what now forms the core of the EDMOUSE utility into my menu program in
 order to turn the mouse driver off before selecting CGA, and then turn
 it back on again after the CGA application had been used, and the user
 is returned to the VGA menu environment.  I thought that there would be
 other users who might find this routine useful so I built a utility
 framework around it, to enable other users to use it as a command
 line/batch file command.  EDMOUSE can also be used if, for example, you
 wish to use a program that supports both a mouse and the keyboard
 concurrently, and as such has a flashing mouse cursor constantly on,
 to get rid of the flashing cursor if you don't wish to use the mouse
 to control the program.

 EDMOUSE will work with all Microsoft compatible mouse drivers (no
 checking is done to see if a mouse driver exists or not, if EDMOUSE is
 run without a mouse driver installed the call to the mouse driver is
 ignored and has no undesirable effect on the system).

	     The command format for EDMOUSE is as follows :

  EDMOUSE [/E|/D|/H] (although the '/' character can be replaced with
			    ':' if required)

   As can be seen, EDMOUSE supports three switches, used as follows :

		    /E - to enable the mouse driver
		    /D - to disable the mouse driver
  /H - to provide a help screen of the information provided here (this
    can also be achieved by not providing EDMOUSE with any switches).