                 VIEWMAX Beta 3 (Panther) DESKTOP

-----------------------------------------------------------------------------
                  PLEASE READ THIS FILE COMPLETE

Compile script and patches from Heinz Rath <hans.rath@vpn.at>
Contains all the patches i have mailed to the Gem mailing list plus
one additional to detect if running under GEM or FreeGEM and overworked the
compile script.
In file patch.txt you find my original mail from the mailing list.
-----------------------------------------------------------------------------


Compile:
--------
First modify comp.bat.
Set the pathes to your BCC, RASM86 and TLINK correct.
Then when starting start
comp v if you want a Desk without special things.
comp g if you want a Desk with special things.

Modifications:
--------------

Patched the src to compile with BCC 3.1 and up and not only with BCC 3.0
Removed the 2 bugs wiched prevented the compiled app to run.
First bug was in file DESKINIT.C second in file DESKTREE.C
Added FreeGEM support (appl_init call only).
Added a compile script.
Patched so that a file with extension APP is recognized as a executable file.
Added Generic.ICF (doesn't look good because its a little bit to big but works)

Modifications wich only exist if you compile with comp g:
---------------------------------------------------------
If -DVIEWMAX is no compiling parameter EXTGEM is defined and this is included
Viewmax2.RSC for GEM/3 (because original RSC doesn't look good under old GEM).
If FreeGem AES is running original Viewmax.RSC is used. (Looks very good)
If a Gem file is doubleclicked the dialog to enter Parameters doesn't appear.
Gem files are automatically started. ( GEM is not leaved. And restarted)

Compiling with comp v
---------------------
When compiling with comp v the compiling parameter -DVIEWMAX is set and so
a the original source is compiled only the two bugs are corrected.

Known bugs:
-----------
Icons doesn't appear when running under GEM/3 but appear with FreeGEM AES.
I think this is because of the xgrf_ functions that are missing in GEM/3
but exist in FreeGEM AES.
When starting the viewmax.ini file seems to be not readen correctly because
sometimes the files are shown as TEXT. Also when ICON is saved in VIEWMAX.INI
after starting of a programm and coming back to DESK it works correct.

ViewMax.Ini
-----------
If you have no ViewMax.ini it should look like this...

[Prefs]
ConfirmDeletes=1
ConfirmCopies=1
ClicksSpeed=0
ConfirmOverwrites=1
MenuKind=0
AutoSave=0
TMaxCtrl=0
Sound=1
Background=0
ScreenSave=0,[Window1]

[Window1]
Sliders=0,0,0
Size=0,32,0,0,0
Tree=6
View=6
Sort=3
Path=ep
Wildcards=*.*

[Window2]
Sliders=0,0,0
Size=0,38,845,573,0
Tree=0
View=0
Sort=3
Path=C:\IP\*.*
Wildcards=*.*

[FileIcons]

[Colors]
CurrentColor=-1
[Drivers]
MaxDrv=7
CurrentDrv=0
Driver0="IBM VGA Colour Display or compatible (640x480)",udpsc9.vga
Driver1="IBM VGA Monochrome Display or compatible (640x480)",sdpsc??.vga
Driver2="IBM EGA Colour Display or compatible (640x350)",uduni9.vga
Driver3="IBM EGA Monochrome Display or compatible (640x350)",uduni9.vga
Driver4="IBM CGA Colour Display or compatible (640x200)",udcat9.ega
Driver5="Compaq, Olivetti, or Toshiba Display in 640x400 mode",udcat9.ega
Driver6="Hercules or compatible with Mono screen (720x348)",udhrc9.ega
VidPatch=FF
MouseType=2
MousePort=255

