home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
drdobbs
/
1991
/
08
/
dflat5
/
readme.doc
< prev
next >
Wrap
Text File
|
1991-06-27
|
4KB
|
107 lines
D-Flat Version 5
The source files in the DFLAT archive constitute the D-Flat windowing
system. Each month, I will replace this file to reflect the changes
made for the column that is under way. This file will probably be
ahead of the published columns; it is late June now, and I am writing
the October column.
This version drops support for POWER C. I ran into too many
incompatiblities and bugs in the compiler, and it did not seem worth
the time to keep it up.
To build the D-flat software, modify the makefile to use Microsoft,
Turbo C 2.0, or Borland C++ 2.0.
The makefile adjusts for Microsoft C 6.0 or Turbo C version 2.0 or
Borland C++ 2.0.
Set the DRIVE macro in the makefile to the drive where your compiler
is installed.
To build with the Turbo C 2.0 make utility, change the
three lines in the makefile so that they look like this:
MSC = 0
BORLAND_CPP = 0
TURBOC = 1
and type this command:
C>make
To build with the Microsoft C nmake utility, make the first three
lines of the makefile look like this:
MSC = 1
BORLAND_CPP = 0
TURBOC = 0
and type this command:
C>nmake
To build with the Borland C++ 2.0 make utility, make the first three
lines of the makefile look like this:
MSC = 0
BORLAND_CPP = 1
TURBOC = 0
and type this command:
C>make
The build makes a program named memopad.exe. It is a
multiple-document notepad program. A second program, notepad.exe
is a single-document editor with hardly any features. You can
compile it with the small memory model and with the BUILD_FULL_DFLAT
global commented out in the makefile to see the difference in
memory requirements between it and the memopad program.
My CompuServe ID is 71101,1262. I monitor the DDJFORUM every day and
prefer that you discuss D-Flat there so that every one can benefit
from your comments.
Observe the #define VERSION statement in dflat.h. The version number
should correspond with the n in the DFLATn.ARC filename that you
downloaded. Check the uploads periodically to see if there is a more
recent version available.
This is version 5. It includes these improvements:
1. An overhaul of the Class system to make it easier to add classes
and to improve performance. See Classes.h.
2. A Search menu to let you search the text file for a string match
and a status bar at the bottom of the application window.
3. Directory and file list boxes in the File Open and Save As dialog
boxes are in sequence now.
4. Modeless dialog boxes work better in this version. The example
programs do use them and will not until I have made more
tests--probably version 6.
5. Drag menus. Click the menu bar item, drag the mouse to the
selection, and release the mouse button to choose the selection.
6. Compressed help files. It uses an adaptation of the Huffman
compression programs from the C Programming Column of early 1991. If
the program finds the compressed MEMOPAD.HLP, it loads it. Otherwise,
it looks for MEMOPAD.TXT, the ASCII version of the file, and loads
that file instead. When you execute the Reload Help command on the
Help menu, the program loads the same way. To test changes to the
help file that you make from the MEMOPAD program, delete the
MEMOPAD.HLP file so that the reload command loads the MEMOPAD.TXT
file. You can compress MEMOPAD.TXT into MEMOPAD.HLP later. The
program starts faster without compressed help.
To compress the help file from the command line:
huffc memopad.txt memopad.hlp