home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / code / bcpp / file12 / titledmo.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-19  |  557 b   |  20 lines

  1.  
  2.     #include <stdio.h>
  3.     #include "pcwproto.h"
  4.  
  5.     void main(void) {
  6.  
  7.        WNDPTR *wnd;
  8.  
  9.        bordercolor(BLUE,LIGHTGRAY);
  10.        titlecolor(RED,LIGHTGRAY);
  11.        setborder(SINGLESIDES);
  12.        wnd = wframe(6,10,18,70,BLACK,LIGHTGRAY);
  13.        wtitle(wnd,TOP,LEFT," Top Left ");
  14.        wtitle(wnd,TOP,MIDDLE, " Top Middle ");
  15.        wtitle(wnd,TOP,RITE, " Top Right ");
  16.        wtitle(wnd,BOTTOM,MIDDLE," Bottom Middle ");
  17.        swait(5);  wnd = wpop(wnd);
  18.     }
  19.                                                                  
  20.