home *** CD-ROM | disk | FTP | other *** search
- ***************************** Copyright Notice ****************************
- * *
- * (C)1991 Duco Fennema *
- * *
- * Read the 'Terms of Use' chapter at the end of this file to know *
- * what you may and may not do with this program. *
- * *
- ***************************************************************************
-
-
- ReadMe file for !FormExpnd v1.10
-
-
- Makes template files ready for direct loading by applications
-
- Windows can then be created and deleted by programs at will
-
-
-
- Contents___________________________________________________
-
- This file contains 5 chapters in this order.
- -Why !FormExpnd
- -Using !FormExpnd
- -How it works
- -Error messages
- -Using expanded template files
- -Acknowledgements
- -Terms of use
- -Release information
- -Correspondence
-
-
-
- Why !FormExpnd_____________________________________________
-
- When you make a program that uses a lot of windows and
- dialogue boxes you should not create them all at startup
- and claim windowhandles for them.
- Instead they should be created when needed and deleted as
- soon as possible.
- Loading lots of templates with 'Wimp_LoadTemplate' is not
- very convenient because it requires repeated disc access.
- Furtermore you need twice the space used by indirected data
- to facilitate its relocation.
- Loading the template file as a whole would do away with
- these drawbacks but sadly the format saved by the template
- editor is not suitable for doing this.
- !FormExpnd tries to overcome this problem by converting the
- template file to a format that can be loaded directly.
-
-
-
- Using !FormExpnd___________________________________________
-
- First install !FormExpnd on the iconbar.
-
- Using !FormExpnd couldn't be simpler, just drag the
- template file to be expanded upon the !FormExpnd Icon it
- will then be expanded.
-
- While !FormExpnd is doing its stuff the hourglass may be
- displayed.
-
- When the template file is expanded a 'save as:' dialogue
- box will pop up just above the !FormExpnd iconbar icon.
-
- You may now save the expanded template file in the normal
- RiscOs fashion.
-
- _________________WARNING WARNING WARNING___________________
-
- The new template file has the same leafname as your
- original template file.
-
- Dragging it to the same directory as the original template
- file or clicking on the 'OK' icon will overwrite your
- original template file.
-
-
-
- How it works_______________________________________________
-
- !FormExpnd works by analysing the template file and expand
- all indirected data space to the exact amount needed by the
- window.
- This needs to be done because !FormEd only saves the data
- actualy given when the window was defined not the amount
- specified as the 'max size'.
-
- While expanding the file every window definition is aligned
- on a word boundary from the file start.
- This is required to be able to use the file directly with
- 'Wimp_CreateWindow'
-
-
-
- Error messages_____________________________________________
-
- There are six errors generated by !FormExpnd.
-
- These are:
-
- -Save or discard other template file first
- You have tried to load a new template file without
- saveing the former one.
- -Template file '<filename>' not found
- This will happen if you manage to delete the file you
- just dragged onto the !FormExpnd icon before
- !FormExpnd could load it.
- A Template file with zero lenght will also cause this
- error to be reported.
- -Could not load '<filename>' : <reason>
- !FormExpnd could not load the specified file, the
- reason given is the error message returned by the
- filer.
- -Could not save '<filename>' : <reason>
- !FormExpnd could not save the specified file, the
- reason given is the error message returned by the
- filer.
- -Unable to claim enough memory
- !FormExpnd could not obtain enough memory to load or
- expand the template file.
- -Wimp_SlotSize failed
- This should not normaly happen, it means that
- Wimp_SlotSize itself caused an error.
- Although it will not crash this program it means that
- something is seriously wrong.
-
-
-
- Using expanded template files______________________________
-
- In this application directory you find a basic file with
- all procedures needed to get this system working.
- These are extracted from one of my own programs and should
- work ok.
- Should you encounter any problems using the routines, or if
- you have other related questions write to me at the adress
- stated below.
-
-
-
- Acknowledgements___________________________________________
-
- Thanks to:
- -Joris Roling for his !Help application.
- -Freddy Huttner for his excellent !NewModes module.
- -Acorn for developing this tremendous machine.
- -My girlfriend for being understanding.
-
-
-
- Terms of Use_______________________________________________
-
- You may freely copy as long as:
- -all files in this application directory are included.
- -this is not for commercial purposes
- -you do not charge for copying.
- -you do not put this program or parts of it on a disc for
- which you are charging (other than the costs of the disc
- itself).
- -the application is not tampered with.
- -this Readme file is always included without any change
- made to its contents.
- -you do not upload this on a bulletin board which charges
- for its downloads.
-
-
- The author reserves the right to amend these terms in cases
- where he deems misuse.
-
-
-
- Release information________________________________________
-
- v1.00 (23 Nov 1990) First public release.
- v1.10 (03 May 1991) Changed the error handling.
- Added the procedure file.
-
-
-
- Correspondence_____________________________________________
-
- Send remarks, bugs and praise to:
-
- Duco Fennema
- Eursingerweg 34
- 9411 BB BEILEN
- HOLLAND
-
- Telephone:
- 05930-22277
-
- From outside Holland:
- <International entry code> 031 5930 22277
-
-