home *** CD-ROM | disk | FTP | other *** search
- August 31, 1987
-
- MULTI-LEVEL WINDOWS
- Version 3.4
-
- PURPOSE:
-
- These procedures create incredibly quick multi-level windows as
- include files in Turbo Pascal programs for all IBM and compati-
- bles including the new PS/2 systems. They work in all text modes
- and any column mode (40/80/etc.) using the quick screen writing
- procedures of QWIK30.INC.
-
-
- TEST DRIVE:
-
- Compile and run the tutoring program WTUTOR34.PAS to get a feeling
- for features and speed.
-
-
- FILES:
-
- In this version, WINDOW34.ARC contains:
-
- !_read .me!: File that insists you get a copy of QWIK30.ARC.
- Qwik30 .inc: Include file for quick screen writing.
- Window34.inc: Include file for your programs to use windows.
- Wtutor34.pas: Demo of Window34.inc and Qwik30.inc which also
- gives a tutorial of user instructions.
- Window34.doc: This document.
- ScrollBi.pas: Alternate BIOS scroll for ScrollWindow.
- License .arc: ARC file containing license agreements
-
-
- IMPROVEMENTS:
-
- The new QWIK30.INC procedures have been included. A new control
- was added - FixedWindow. When setting up your first windows on
- the screen that are intended to be permanent, use FixedWindow to
- keep them in place and not store unnecessary data on the heap.
- Most other changes were done to optimize code using pred and succ
- where possible.
-
- This version is fully compatible with version 3.3.
-
-
- SHAREWARE:
-
- Due to the lack of participation and expense, I have decided to
- abandon the Teamware concept and instead make them into ShareWare.
- The cost may range from $4 to $25 depending on your application.
- I do enjoy assisting others in their programming, but lack of
- reimbursement is expensive for me! Please help out. See the
- STATMENT.LIC in LICENSE.ARC for details. If the response will let
- me break even, I will continue support.
-
-
- ADDITIONAL NOTES:
-
- The WTUTOR34.PAS covers most of the instructions for use, but
- users should also read QWIK30.DOC to get the most of these
- procedures. For instance, WINDOW34.INC can work on up to 8
- display pages depending on your video card. Turbo Pascal
- procedures only work on the first page, page 0. This is where Q
- screen procedures come in. They will work on any page. Even
- though WINDOW34.INC will seem to make a Turbo Window on say page
- 3, the standard procedures of WriteLn, Window, GotoXY, etc. will
- not work there. You must then use Q screen procedures for those
- pages.
-
- There may be later versions of QWIK.INC, so use the latest one.
-
- Remember that a Turbo window cannot have less than 2 rows or
- columns and still work scrolling and wrap-around.
-
- FixedWindow - Set the FixedWindow boolean flag to true prior to
- MakeWindow after which MakeWindow sets it back to false. Then
- MakeWindow will not save the screen in the heap and disables
- RemoveWindow from trying to restore it. This is useful when you
- first set up a display design with several windows where there is
- no need to save any screen contents. There is no demonstration of
- FixedWindow.
-
- Hatch Borders - With the 9x16 character cell size on the new VGA
- adapters, the hatch characters (ASCII 176, 177, 178) are only 8x16
- in a 9x16 cell. This unfortunately produces a horizontal gap
- between the characters not seen on the CGA. Be aware of the
- effect.
-
- Full Screen Windows - Be sure ShadowEffect is set to NoDir when
- making a full screen window. Otherwise, the shadow will wrap
- around to the other side of the screen leaving a black column.
-
- Pull-down Menus - An application of windows is multi-level pull-
- down menus. I have already created some very thorough code in a
- file called PULL15.ARC. It is fully featured and fully
- configurable. Includes execute, single, and multiple choice
- menus, unlimited nested submenus, data entry windows, help
- windows, message system, fully completed interfaces.
-
- On-line source - All updated files can be found on the CompuServe
- Borland Forum (GO BORPRO) in the MSDOS Turbo Pascal Data Library.
-
-
- LIABILITY:
-
- No liabilities are assumed in the use or misuse of these
- procedures.
-
-
- CREDITS:
-
- The initial program was developed by Michael Burton in his copy
- of WINDO.INC, ver 2.4. The program was edited by permission and
- re-released as WINDOW30.ARC.
-
- Copyright (c) 1986,1987 by James H. LeMay, Michael Burton
- Even though this is source code, it is still protected by the
- United States Copyright Law.
-
- Current author:
- Jim LeMay, 6341 Klamath Rd., Ft. Worth, TX 76116
- 1-(817) 732-7150 (after 1730 PST), CIS 76011,217
- Initial author:
- Michael Burton, 15540 Boot Hill Rd., Hayden Lake, ID 83835
- 1-(208)-772-9347 (after 1800 PST)
-
- Special effects concepts were graciously suggested by:
-
- Rick Fothergill, 141 Oak Hill Road, Pittsfield, MA 01201
- Data: 1-(413)-499-7245, CIS 76210,443
- GEnie Mail: R.FOTHERGILL
-
-
- REVISIONS:
-
- Version 3.0 (01-01-87):
- . Incorporated QWIK21.INC for improved performance,
- compatibility, and reduction of code.
- . Released under the teamware concept.
-
- Version 3.1 (02-11-87):
- . Added zoom and shadow effects.
- . Added attribute function.
- . Added justification for window title.
- . Combined foreground and background parameters into one
- attribute.
- . Deleted Bleep procedure.
- . Modified border constants and added BlankBrdr and UserBrdr.
- . Made Qbox skip border for NoBrdr.
- . Made MaxWndw responsibility of the user.
-
- Version 3.2 (02-20-87):
- . Corrected bug in zoom effect that caused infinite loop
- on windows with a row/col < 4.
- . Added ScrollWindow (Suggested by Art Hill).
-
- Version 3.3 (04-08-87):
- . Added global HeapOK function to check heap space.
- . Used heap instead of stack for ScrollWindow.
- . Provided optional code for BIOS scroll.
- . Streamlined the code in MakeWindow and RemoveWindow.
- . Changed GotoXY to GotoRC to work on video page 1 and up.
- . Added LIcurrent to keep track of current window.
- . Revised WTUTOR33 to allow back up.
- . Revised WTUTOR33 to easily move window with contents.
-
- Version 3.4 (08-31-87):
- . Incorporated QWIK30.INC for full IBM compatibility.
- . Optimized code with pred and succ functions.
- . Added FixedWindow function.
- . Released as Shareware.