home *** CD-ROM | disk | FTP | other *** search
/ Boston 2 / boston-2.iso / DOS / PROGRAM / C / WINCLIP / EXAM94.C < prev    next >
C/C++ Source or Header  |  1993-12-01  |  481b  |  18 lines

  1.   #include "window.h"
  2.   #define NORM CREATE_VIDEO_ATTRIBUTE(black,white)
  3.  
  4.   WPOINTER w1, w2;
  5.   main()
  6.   {
  7.     WindowInitializeSystem();
  8.  
  9.     /* Save Base Screen for video pages 0 and 1 */
  10.     WindowSaveInitial(0);
  11.     WindowSaveInitial(1);
  12.  
  13.     /* Set the active video page */
  14.     SetActiveVideoPage(0);
  15.     w1 = WindowInitialize(BORDER,1,1,10,10,NORM,NORM,SINGLEBOX);
  16.     SetActiveVideoPage(1);
  17.     w2 = WindowInitialize(BORDER,1,1,10,10,NORM,NORM,SINGLEBOX);
  18.   }