Dec 092017
 
TCXL-60 patch and technical notes.
File TN.ZIP from The Programmer’s Corner in
Category C Source Code
TCXL-60 patch and technical notes.
File Name File Size Zip Size Zip Type
TN04001.TXT 1860 819 deflated
TN04002.TXT 2442 1031 deflated
TN04003.TXT 1897 803 deflated
TN04004.TXT 7114 2250 deflated
TN04005.TXT 865 377 deflated
TN04006.TXT 891 377 deflated
TN04007.TXT 1347 443 deflated
TN04008.TXT 721 300 deflated
TN04009.TXT 822 364 deflated
TN04010.TXT 1126 455 deflated
TN04011.TXT 1741 643 deflated
TN04012.TXT 1631 588 deflated
TN04013.TXT 832 346 deflated
TN04014.TXT 898 393 deflated
TN04015.TXT 2516 873 deflated
TN04016.TXT 2680 1187 deflated

Download File TN.ZIP Here

Contents of the TN04001.TXT file




Innovative Data Concepts, Inc. Technical Information Note
TesSeRact Development Tools

Replacing Vsave() and Vrestore()
TN-9204-001 April 25, 1992


If you like to to save and restore the DOS screen automatically when your
program starts up and exits, and having been doing so using Vsave(),
Vclear, and Vrestore(), TCXL 6 has a new way to do it. The new method is
easier, safer, and highly recommended. Just follow these guidelines:

As soon as you open any window at all in your program, TCXL will
automatically save the underlying screen.

To clear the opening screen with an attribute, use the statement
WopenFull(), where is the attribute with which you would
like to clear the screen. For example:

WopenFull(WHITE | _BLUE);

Hint: You can always use WsetFil() first to change the fill
character, if you want the "desktop" look.

If you want to simply save the screen, either because you will not be
opening any TCXL windows in your program, or in preparation for a call
to a non-TCXL application with spawn(), use WsaveFull(). The
attribute is required, but is not used.

Always end your program with the statement WcloseAll(). This will
close all open windows and restore the original screen.

The V...() functions are generally unnecessary, especially since the
windowing system does so much for you. In fact, we recommend that you
simply don't use these functions at all.


 December 9, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)