Readme.Txt  Revision 4
14:34  02/15/94

What you need:
-------------------------

You will need the following files in addition to what is in this zipped
file:

Clip4Win.Bmp --->If you do not find it do not worry, it will work without
it but it is prettier to have it.

CTL3D.DLL ---> This file is provided with Clip4Win. Make sure it is in the
path or just copy it into the same directory with the padding files.

Zip File Content
--------------------------
The following files are included in Padding.Zip:


ReadMe4.Txt
Padding.Rmk
Padding.Ch
Padding.Rc
Padding.Prg
Padding.Def
ChkNEvnt.Prg
NotePad.Prg
NotePad.Ico
Childarr.Prg
Pad.Hlp
Note.Tpc
Note.Hlp
Harmony.Ttt
Test.Txt


	Items added since Revision 3

I added an Icon which will also shows up and the bottom of Program Manager
when NotePad is minimized.

Items fixed since Revision 3

A new bug was found and corrected:

If the user clicked on the top left hand side of an edit window and
clicked the close option, the main notepad window would be relegated to be
behing the WINDOWS' Progam Manager.

Also, the edit window would close without asking to be saved if the user
had made changes. This is also fixed.

WordWrap:

This function is now functional with the fonts remaining the same as what
had been selected prior to checking wordwrapping ON.  All known bugs were
fixed.

I also found out that having to re-ajust the wordwrapping when one brings
up a text file and checks wordwrap ON is common to all word processors.
This is due to the fact that a line feed is inserted and wordwrapping
cannot distinguish which ones you want to leave in and which ones you want
out.

Search and Replace

These functions are now operational. All known bugs were fixed. They may
be some other one lurking in the dark.

ZIP file Content

I have added the following three files to the new Paddin.Zip

ChkNEvnt.Prg	// Modifies the one provided with C4W.
Padding.RC
NotePad.ICO

NotePad.ICO is a modified version of the one that came with FUNCkyII.
Per Dirk Lesko, author of FUNCky, this was in turn obtained from a
file containing a multitude of icons. The file had no copyright
notice. Use as you see fit, however, I strongly suggest that if you
want a notepad icon for a commercial application that you make one up
or but one. We cannot make any guarantees that the notepad icon
supplied here is not copyrighted. Dirk had no objection in the use
of this icon for this example.

Printing

Printing is functional as far as I could find out. Page selections and
collate features have been added. The printed page will also use the
closest font to the one which is being displayed.

Accelerators

The accelerators have been added to the note pad menues and the Main App
menu. They are now functional as far as I could tell.

To accomplish the above, I had to modify the ChkEvent.PRG which came with
C4W. I use the ChkNEvnt()


Number of NotePad:

This has been added. In addition, now the new notepads will be
slightly offset from the previous one.

IMPORTANT ITEMS STILL NEEDING WORK

The Insert On/Off

/***********************************************************************

Readme.Txt Revision 3
20:27  02/03/94


This is the third revision.

You will find all of the below in the HELP file in the menu of the main
application.  The help is an explanation of what I did, where I need help,
and how it works. Just press F1 for help with padding development, F2 for
help on how to use NotePad.


How to start:
--------------------

After you have unzipped the file, and added the above two files to the
same directory, then at the prompt type:

c:\padding> RMake padding

This will give you an .EXE file. Proceed to your window and run Padding
from windows. You will need to have the RC.EXE in your path. RC.EXE comes
with Microsft C++ or Borlands C++ or other products.

Main Features:
------------------------

I have done my best to improve on the program NOTEPAD.PRG as supplied with
Clip4Win. I used the latest updated library - dated 9/9/93 , and Clipper
5.2c . These improvements were possible with the help from John Skelton,
the author of Clip4Win, who has been of tremendous help and patience.

This version has a main application with a menu so as to show you how you
can add it into your own applications. From this main menu I showed 2 ways
to obtain a notepad. The first one lets the user open a new or existing
file, write to it, and save it. The second choice brings up a file for the
user to read only. The user can copy to the clipboard, and change the size
of the window, but cannot write, delete, cut, nor save the file.

The user can open a multitude of new notepads windows, until WINDOWS run
out of resources. If someone can help me with telling me a way to finding
out an approximate count, we can easily add a little function in
ChildArr.PRG which will count the number of open valid notepads and notify
the user if too many are opened.  For now I will add this feature in the
next revision with a maximum count of  15.

The copying or cutting to the clipboard actually writes to the WINDOWS
clipboard.  Therefore if you copy/cut something you can paste it through
your own editor.

If the user makes changes to a file, and then exit from the main
application without having saved the work, he/she will get a notice asking
if they want to save the file or not.

I developed the above because I wanted to be able through my C4W
applications to read a file, extract some comments, and paste them into
another file, all without quitting the application.

I hope you enjoy it. It was quite a learning experience for me. BTW this
readme file has been written using the PADDING program.

A few know anomalies.
------------------------------------

Search and replace:

If you try to find a word such "general" and do a replace all with
"generale" the first occurrence will run all the way out of the window
repeating the letter e. If you are looking for a word and replace all with
a completely different word, then it works well. I have not had a chance
to modify this function.

Opening same file more than once:

You now can open the same file in different windows. If you make changes
to that same file, only the changes made to the last window being saved
will be saved. It makes sense. Anyway I debated if I should not allow the
same file to be opened in another notepad window. In the end I decided to
leave it as is because it works the same way as the WINDOWS' notepad.


Search starting from first line:

The original Search function would not find the word if it was the first
word in the first line, nor would it find more than one occurence per
line. The updated version does remedy the previous shortcoming.


NO GUARANTEES:
-----------------------------
Wine Software Partners does not make any guarantes implied or otherwise or
in any form or shape. This is released only as a learning tool.

All I ask is that if you make improvements that you share it with me, and
if you find a bug that you notify me so that we may resolve it together.

The functions contained in these programs are given free of charge to C4W
registered users and CA-VO registered users. All others can contact myself
or John Skelton.

If you need help, please contact me on compuserve.  I usually frequent
both the E-Mail and the CA-Clipper forum a few times a week unless I am on
vacation.  Anyway do not despair as I will get back to you.

Jean-Pierre Zacaropoulos
CIS # [71562,530]









