[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
GrowMkWin                                                       WinTTT



Purpose   To create a text window on the screen and saves the screen
          contents that has been overlayed. This procedure is the
          functional equivalent of MkWin, except that the window box
          explodes onto the screen.

Declaration    GrowMkWin(X1,Y1,X2,Y2,F,B,Boxtype: integer);

          X1 is the top left X coordinate (1..80)
          Y1 is the top left Y coordinate (1..25)
          X2 is the lower X coordinate (1..80)
          Y2 is the lower Y coordinate (1..25)
          F is the foreground color (0..15)
          B is the background color (0..15)
          BoxType is the window box line type (see remarks)

Uses Crt, FastTTT, DOS, WinTTT.

Remarks   The specifications are the same as for GrowFBox.

          The normal values for the Boxtype are:
               1    Single line
               2    Double line
               3    Single top/bottom, double sides
               4    Double top/bottom, single sides

           If a BoxType of 0 is passed, the procedure will use a space
           (' ') as the box character. If any other number (i.e.
           5..256) is used, the box is drawn using the ascii character
           represented by the number. Refer to page 568 of the Turbo
           Pascal Owner's Handbook to see the ascii table.

           If the box grows too quickly or too slowly, alter the global
           variable Speed. The default value is 200; increase the value
           to slow the speed down, or decrease it to speed the box up.



Example


               USES CRT, FASTTTT, DOS, WINTTT;
               BEGIN
                 SPEED := 400;
                 GROWMKWIN(1,1,80,12,WHITE,RED,1);
               END.


See Also: Mkwin RmWin
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson