home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cset21v1.zip / IBMCPP / SAMPLES / ICLUI / HELLO2 / README2.TXT < prev   
Text File  |  1993-10-18  |  8KB  |  110 lines

  1. ***************************************************************************
  2. * HELLO WORLD SAMPLE PROGRAM - Version 2: Readme File (README2.TXT)       *
  3. *                                                                         *
  4. * COPYRIGHT: Copyright(C) International Business Machines Corp.,1992,1993.*
  5. *                                                                         *
  6. * DISCLAIMER OF WARRANTIES:                                               *
  7. *   The following [enclosed] code is sample code created by IBM           *
  8. *   Corporation.  This sample code is not part of any standard IBM product*
  9. *   and is provided to you solely for the purpose of assisting you in the *
  10. *   development of your applications.  The code is provided "AS IS",      *
  11. *   without warranty of any kind.  IBM shall not be liable for any damages*
  12. *   arising out of your use of the sample code, even if they have been    *
  13. *   advised of the possibility of such damages.                           *
  14. *-------------------------------------------------------------------------*
  15. * See the User Interface Class Library Users Guide for more information   *
  16. *   about this sample program.                                            *
  17. *                                                                         *
  18. * C++ Hello World Version 2 Key Functions:                                *
  19. *    - Create Main Window (AHellowWindow) as subclass of IFrameWindow     *
  20. *    - Gets the "Hello, World!!" text string and other items from a       *
  21. *       resource file                                                     *
  22. *    - Sets the window title from a resource file                         *
  23. *    - Creates and sets the information area at the bottom of the         *
  24. *       client area                                                       *
  25. ***************************************************************************
  26.  
  27. ***************************************************************************
  28. * File list:                                                              *
  29. *   README2.TXT  - Readme file for HELLO2.EXE.                            *
  30. *   AHELLOW2.CPP - Source code for the main() function and the            *
  31. *                   AHelloWindow class.                                   *
  32. *   AHELLOW2.HPP - Header file for the AHellowWindow class.               *
  33. *   AHELLOW2.H   - Symbolic defintion file for HELLO2.EXE.                *
  34. *   AHELLOW2.RC  - Resource file for HELLO2.EXE.                          *
  35. *   AHELLOW2.ICO - Icon file for HELLO2.EXE.                              *
  36. *   AHELLOW2.DEF - Module definition file for HELLO2.EXE.                 *
  37. *   AMAKE2.MAK   - Make file to create HELLO2.EXE.                        *
  38. *   AMAKE2.CMD   - Command file to create HELLO2.EXE.                     *
  39. *   BUILD2.CMD   - Command file to compile, link and run HELLO2.EXE.      *
  40. *   CLEANUP2.CMD - Command file to clean up (erase) the following         *
  41. *                   generated files:  HELLO2.EXE, AHELLOW2.OBJ,           *
  42. *                   AHELLOW2.MAP, AHELLOW2.ERR, and AHELLOW2.RES.         *
  43. ***************************************************************************
  44.  
  45. ***************************************************************************
  46. * File Relationship Diagram (Files in uppercase, Programs in lowercase)   *
  47. *                                                                         *
  48. *                 AHELLOW2.H                     iconedit                 *
  49. *                    │  │                           │                     *
  50. * AHELLOW2.HPP       │  │                      AHELLOW2.ICO               *
  51. *      │             │  │                           │                     *
  52. *      │             │  │                           │                     *
  53. *      v             │  │                           │                     *
  54. * AHELLOW2.CPP <─────┘  └────────────> AHELLOW2.RC<─┘                     *
  55. *      │                                   │                              *
  56. *      │                                  rc -r                           *
  57. *      │                                   │                              *
  58. *      v                               AHELLOW2.RES                       *
  59. *    icc -c ═════ AHELLOW2.OBJ             │                              *
  60. *                     │                    │                              *
  61. *                     v                    │                              *
  62. * AHELLOW2.DEF ──>icc /Tdp ->AHELLOW2.MAP  │                              *
  63. *                     │                    │                              *
  64. *                     v                    v                              *
  65. *                  HELLO2.EXE ──────────> rc ───────────> HELLO2.EXE      *
  66. ***************************************************************************
  67.  
  68. ***************************************************************************
  69. *                                                        ╔═══════════╗    *
  70. * Window Parent Relationship Diagram:           Diagram  ║Class Name ║    *
  71. *                                                   Key: ║───────────║    *
  72. *                   IApplication::current().run()        ║Object Name║    *
  73. *                                                        ╚═══════════╝    *
  74. *                                                                         *
  75. *                           ╔════════════╗                                *
  76. *                           ║AHelloWindow║                                *
  77. *                           ║────────────║                                *
  78. *                           ║ mainWindow ║                                *
  79. *                           ╚════════════╝                                *
  80. *                                 │           ╔══════╗                    *
  81. *                                 ├────────── ║ITitle║                    *
  82. *                                 │           ╚══════╝                    *
  83. *                                 │                                       *
  84. *                                 │                                       *
  85. *                                 │                                       *
  86. *      ┌──────────────────────────┴────────────────────────────┐          *
  87. *  ╔═══════════╗                                           ╔═════════╗    *
  88. *  ║IStaticText║                                           ║IInfoArea║    *
  89. *  ║───────────║                                           ║─────────║    *
  90. *  ║   hello   ║                                           ║infoArea ║    *
  91. *  ╚═══════════╝                                           ╚═════════╝    *
  92. * (Client Window)                                                         *
  93. ***************************************************************************
  94.  
  95. ***************************************************************************
  96. * The HELLO2.EXE Sample Application can be built in two ways:             *
  97. *                                                                         *
  98. * Option 1: Run BUILD2.CMD                                                *
  99. *                                                                         *
  100. *   This option compiles, links, and executes HELLO2.EXE.  It then        *
  101. *   cleans up all files created by BUILD2.CMD.                            *
  102. *                                                                         *
  103. * Option 2: Run AMAKE2.CMD                                                *
  104. *           Run HELLO2.EXE                                                *
  105. *           Run CLEANUP2.CMD                                              *
  106. *                                                                         *
  107. *   AMAKE2.CMD compiles and links HELLO2.EXE.                             *
  108. *   CLEANUP2.CMD cleans up the files built by AMAKE2.CMD.                 *
  109. ***************************************************************************
  110.