Category : C Source Code
Archive   : SMTC130.ZIP
Filename : MKBOX.DOC

 
Output of file : MKBOX.DOC contained in archive : SMTC130.ZIP


NAME
mkbox -- make a box on the screen

SYNOPSIS
#include "graphics.h"
void mkbox(startr, startc, width, ht, page);
int startr; starting row (top)
int startc; starting column (left)
int width; how many columns wide
int ht; how many rows high
int page; which video page (assuming
proper video mode)

DESCRIPTION
This function will make a double line box using the IBM
graphics characters on the "page" specified. The "startr"
and "startc" parameters anchor the upper left corner. The
"ht" and "width" set the dimensions. No checks are made for
valid numbers. Function can be used with both CGA and Mono
cards, and with EGA cards in CGA or MONO modes.

EXAMPLE
mkbox(0, 0, 80, 23, 0);
will make a box around the outside of an 80 x 24 screen.



CAVEAT
if using the direct video access routines, use
dvid_box() instead of this function.





This function is found in SMTCx.LIB for the Turbo-C Compiler.


  3 Responses to “Category : C Source Code
Archive   : SMTC130.ZIP
Filename : MKBOX.DOC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. 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/