home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / powergui / getstart / start2 / start2.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-29  |  641 b   |  25 lines

  1. //*********************************************************
  2. // Getting Started - Simple Program, Version 2
  3. //
  4. // Copyright (C) 1994, Law, Leong, Love, Olson, Tsuji.
  5. // Copyright (c) 1997 John Wiley & Sons, Inc. 
  6. // All Rights Reserved.
  7. //*********************************************************
  8. #include <iapp.hpp>
  9. #include "start2w.hpp"
  10.  
  11. void main ( )
  12. {
  13.   // Create a primary window that contains an MLE.
  14.   CodeWindow
  15.     primary( "Getting Started - Version 2" );
  16.  
  17.   // Set the input focus, and show the window.
  18.   primary
  19.    .setFocus()
  20.    .show();
  21.  
  22.   // Start event processing.
  23.   IApplication::current().run();
  24. }
  25.