Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : DBWIN.ZIP
Filename : DBWIND1.DOC
Author : Harold O. Koenig (CIS - 75715,41; Delphi - HOKYO)
Clerical Services, Inc.
Rt. 4, Box 152E
Scottsville, VA 24590
Date : April 26, 1987
PUT TEST1.PRG & DBWNWOAN.BIN WHEREVER YOUR DBASE III+ LOOKS FOR
PROGRAMS
DO a <
Notes : DbWind is a module to be loaded and called from programs running
within Dbase III+. The Programmer specifies the top left and bottom right
corners of an area on the screen. DbWind opens a window there and saves
what was behind the window. When the window is closed, whatever lay behind
it is restored to the screen.
In this version, DbWind WILL permit the programmer to perform two SAVES
without an intervening RESTORE, or two RESTORES without an intervening SAVE.
There is a little more information in the instructions of the TEST1.PRG.
Both TEST1.PRG and DBWNWOAN.BIN should be on your Dbase III+ default path.
Then crank up dBAse and DO TEST1.
Examination of TEST1.PRG and DBWNWOAN.ASM ought to answer any questions...
I hope it's helpful.....
P.S. It might make listing or viewing the source file more aesthetic if you
set your printer or screen tab to every 8th place.
With Version 1.1 the parameter got ridiculous, so I've included here the
description of all the characters. I knwo that's redundant (let me say that
again), but I want it to be not too difficult to refer to...
A Discourse on the Parameter: (These values are not necessarily
; trapped, just recommended.)
; Char 1: SsRr Save (open window) or Restore (write from buffer)
; Char 2: 1...24 Top Row
; Char 3: 1...78 Left Column
; Char 4: 2...25 Bottom Row
; Char 5: 2...80 Right Column
; Char 6: 1...255 Window Attribute
; Char 7: 1...255 Border Attribute
; ----->> NOTE: Because dBase freaks out at a CHR(0), the first of the
; 256 possible attribute/color byte combinations is un-
; available - So, sue me! Seriously, I regret this and
; will address the whole issue of attribute/color at a
; later date and version. FOR NOW, IT'S UP TO YOU TO
; KEEP THE ATTRIBUTE BYTES REASONABLE <<< CAUTION !!!!!!
; Char 8:1...5 Border Character Set
; 1. - Single Line
; 2. - Double Line
; 3. - Single Vertical/Double Horizontal
; 4. - Double Vertical/Single Horizontal
; 5 (or greater). - Use the following Character as the border character
; Char 9:1...255 (OPTIONAL) The programmer selected character
; to be used as a border character - any ASCII
; plus IBM character is possible. You don't want
; a border? Use a space
; -bute as the window attribute.....
Finally, this version DBWIND, (1.1) also known as dbWNWOAN, traps almost
NOTHING - if you send it bad parameters for window size it will ignore you.
Otherwise it will try to do whatever you tell it to - so be careful!
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/