home *** CD-ROM | disk | FTP | other *** search
- ========================================================
-
- Wimp Application Support Program demonstration.
-
- This application is a demonstration of what the WASP
- module's SWI's can do to make life easier for you.
- An extensive description of how to call these SWI's
- can be found in the separate !ReadMe application.
-
- But there's more :
-
- WASPDemo is not just a simple demonstration. It's
- main (BASIC) program is a skeleton which you may use
- as a foundation for your own applications. A library
- containg some usefull routines is supplied with it.
-
- These are it's specifications :
-
- All data transfer procedures are supported !
- File info window and save window are automatically
- updated with correct type, size, date, icon etc.
- Auto-start when double-clicking a file.
- Separate data open and drag loading.
- Complete !Help support.
- Versatile error handling.
- Extremely little adaption needed to change it to
- user specifications.
-
- --------------------------------------------------------
-
- How to adapt the program to your needs :
-
- Remove poll events if you don't need them, and mask
- them out. 'PointerEnteringWindow' is a good example.
- Bear in mind that the data transfer absolutely needs
- events 7,17,18 and 19 to work correctly !
-
- You are not allowed to change the 'FileInfo' and
- 'Save' templates, or their window handles.
-
- The 'File' template is needed, with its handle, but
- you are allowed to change it's contents completely,
- but for the title bar as this is used to display the
- filename of the file currently loaded.
-
- Files will be loaded starting at 'HIMEM'. Total size
- of the loaded file is 'FNSize'. You may set the size
- by calling 'PROCSize(<NewSize>)', which will try to
- claim enough memory for it to fit.
-
- File loaded status is read by 'FNLoaded'. It will be
- set automatically upon loading a file. Closing it's
- window will remove the file from memory.
-
- File modification status is read by 'FNModified', or
- set by 'PROCModified(<TRUE or FALSE>)'. Status is
- reset to non-modified upon saving the file to a non-
- volatile destination (that means a filer window).
-
- Filetypes that are allowed to be loaded may be
- changed in 'FNCheckType'. There are separate checks
- for dataload and dataopen events.
-
- ========================================================
-
- This application is freeware. You may copy it freely
- but only when you copy this application and all it's
- related data files completely without omissions and
- you do not gain any financial profit from doing so.
-
- If you have any comments or suggestions about this
- program, please contact the author as :
-
- Jan-Herman Buining Acorn BBS : (020)6631849
- Soendastraat 133 Huco BBS : (01804)30785
- 9715 NP Groningen La Luna BBS : (02593)41891
- (050)735228
- The Netherlands Eunet : jhb@neabbs.UUCP
-
- ========================================================
-