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

  1.   #include "window.h"
  2.   #define REVERSE   CREATE_VIDEO_ATTRIBUTE(white,black)
  3.  
  4.   WPOINTER w;
  5.  
  6.   main()
  7.   {
  8.     WindowInitializeSystem();
  9.     WindowSaveInitial(0);
  10.     w = WindowInitialize(BORDER,1,1,10,10,REVERSE,REVERSE,SINGLEBOX);
  11.     WindowOpen(w);
  12.     WindowDisplay(w,1,NOEFFECT);
  13.     GET_KEY();
  14.     WindowRemoveBorder(w);  /* Removes the double box around BORDERed
  15.                                        window */
  16.   }