Hi Michael,
I also have a Program Manager enhancement installable driver which
originally was just adding a drop-down combo with a history to the "Run"
dialog a la Windows 95 and above.
It is smart enough to be able to determine your default email client and
web browser to handle URLs such as those that begin with http://,
https://, and mailto:, although at the time I wrote it many years ago
Windows 3.1 web browsers and email clients such as IE 5.0 and Outlook
Express 5.0 were still useful to surf the web and send and receive html
email. The standards have gone so far beyond those primitive clients
that this feature is more or less useless, although there are definitely
some web sites, although few, that are still compatible with 16-bit IE 5
or some of the later 16-bit versions of Netscape Navigator.
I later added the feature of enhancing the Program Manager Shutdown
Dialog such that it includes, in addition to simply "Exit Windows,"
radio button choices to "Restart Windows," "Restart Computer," and "Turn
Off Computer." The last choice is only functional if your computer and
BIOS have Advanced Power Management or beyond capabilities which allow
the computer to be shut down via software. I would think any 200 MHz
Pentium system or beyond would have this capability. As I couldn't
figure out the confusing API's dealing with APM, I was unable to detect
whether or not the computer had these capabilities, and, if it didn't,
to disable or hide his choice in the dialog. The way I implement this
feature, is that Windows 3.1 includes an API for exiting Windows,
running a DOS command, and then restarting Windows, typically this is
used by installers. In this particular case the DOS command it runs
includes a call to
shutdown.com, a DOS utility I downloaded from the
internet that someone else wrote, which can power down the computer. As
the Windows 3.1 "exit Windows and run DOS command" API completely exits
Windows before running the DOS command, even though we power down and
never allow Windows to be restarted, it is a clean shutdown, with no
dangling file handles open or any corruption of the disk partition.
This last feature, the enhanced Program Manager shutdown dialog, can
only be guaranteed to work with US English localization. Unlike with the
Automatic Login driver, I was unable to get a unique footprint to
identify this dialog (if I remember correctly it is simply an OKCANCEL
message box running in system modal mode), and was dependent on the
title text of "Exit Windows" to identify it. I MIGHT be able to get this
text out of the resources of Windows DLLs, and match it that way, if I
set my mind to it and have time someday.
I will include more info on other things I've done, but, for now, if
there's any interest in either of these things I've done, let me know
and I'll get the packages together and post them.
Thanks.
Mark W. Stroberg