home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ICLUI.ZIP / HELLO2 / README2.TXT < prev   
Text File  |  1993-03-09  |  8KB  |  114 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. * C++ Hello World Version 2 Key Functions:                                *
  16. *    - Create Main Window (AHellowWindow) as subclass of IFrameWindow     *
  17. *    - Gets the "Hello, World!!" text string and other items from a       *
  18. *       resource file                                                     *
  19. *    - Sets the window title from a resource file                         *
  20. *    - Creates and sets the information area at the bottom of the         *
  21. *       client area                                                       *
  22. *                                                                         *
  23. *                                                                         *
  24. ***************************************************************************
  25.  
  26. ***************************************************************************
  27. * File list:                                                              *
  28. *   README2.TXT  - Readme file for HELLO2.EXE.                            *
  29. *   AHELLOW2.CPP - Source code for the main() function and the            *
  30. *                   AHelloWindow class.                                   *
  31. *   AHELLOW2.HPP - Header file for the AHellowWindow class.               *
  32. *   AHELLOW2.H   - Symbolic defintion file for HELLO2.EXE.                *
  33. *   AHELLOW2.RC  - Resource file for HELLO2.EXE.                          *
  34. *   AHELLOW2.ICO - Icon file for HELLO2.EXE.                              *
  35. *   AHELLOW2.DEF - Module definition file for HELLO2.EXE.                 *
  36. *   AMAKE2.MAK   - Make file to create HELLO2.EXE.                        *
  37. *   AMAKE2.CMD   - Command file to create HELLO2.EXE.                     *
  38. *   BUILD2.CMD   - Command file to compile, link and run HELLO2.EXE.      *
  39. *   CLEANUP2.CMD - Command file to clean up (erase) the following         *
  40. *                   generated files:  HELLO2.EXE, AHELLOW2.OBJ,           *
  41. *                   AHELLOW2.MAP, AHELLOW2.ERR, and AHELLOW2.RES.         *
  42. *                                                                         *
  43. ***************************************************************************
  44.  
  45. ***************************************************************************
  46. *                                                                         *
  47. * File Relationship Diagram (Files are in upper case letters; programs    *
  48. *                            are in lower case letters.)                  *
  49. *                                                                         *
  50. *                 AHELLOW2.H                     iconedit                 *
  51. *                    │  │                           │                     *
  52. * AHELLOW2.HPP       │  │                      AHELLOW2.ICO               *
  53. *      ║             │  │                           │                     *
  54. *      ║             │  │                           │                     *
  55. *      v             │  │                           │                     *
  56. * AHELLOW2.CPP <─────┘  └────────────> AHELLOW2.RC<─┘                     *
  57. *      ║                                   │                              *
  58. *      ║                                  rc -r                           *
  59. *      ║                                   │                              *
  60. *      v                               AHELLOW2.RES                       *
  61. *    icc -c ═════ AHELLOW2.OBJ             │                              *
  62. *                     ║                    │                              *
  63. *                     v                    │                              *
  64. * AHELLOW2.DEF ──>icc /Tdp ->AHELLOW2.MAP  │                              *
  65. *                     │                    │                              *
  66. *                     v                    v                              *
  67. *                  HELLO2.EXE ──────────> rc ───────────> HELLO2.EXE      *
  68. *                                                                         *
  69. ***************************************************************************
  70.  
  71. ***************************************************************************
  72. *                                                        ╔═══════════╗    *
  73. * Window Parent Relationship Diagram:           Diagram  ║Class Name ║    *
  74. *                                                   Key: ║───────────║    *
  75. *                   IApplication::current().run()        ║Object Name║    *
  76. *                                 │                      ╚═══════════╝    *
  77. *                                 │                                       *
  78. *                           ╔════════════╗                                *
  79. *                           ║AHelloWindow║                                *
  80. *                           ║────────────║                                *
  81. *                           ║ mainWindow ║                                *
  82. *                           ╚════════════╝                                *
  83. *                                 │           ╔══════╗                    *
  84. *                                 ├────────── ║ITitle║                    *
  85. *                                 │           ╚══════╝                    *
  86. *                                 │                                       *
  87. *                                 │                                       *
  88. *                                 │                                       *
  89. *      ┌──────────────────────────┴────────────────────────────┐          *
  90. *  ╔═══════════╗                                           ╔═════════╗    *
  91. *  ║IStaticText║                                           ║IInfoArea║    *
  92. *  ║───────────║                                           ║─────────║    *
  93. *  ║   hello   ║                                           ║infoArea ║    *
  94. *  ╚═══════════╝                                           ╚═════════╝    *
  95. * (Client Window)                                                         *
  96. *                                                                         *
  97. ***************************************************************************
  98.  
  99. ***************************************************************************
  100. * The HELLO2.EXE Sample Application can be built in two ways:             *
  101. *                                                                         *
  102. * Option 1: Run BUILD2.CMD                                                *
  103. *                                                                         *
  104. *   This option compiles, links, and executes HELLO2.EXE.  It then        *
  105. *   cleans up all files created by BUILD2.CMD.                            *
  106. *                                                                         *
  107. * Option 2: Run AMAKE2.CMD                                                *
  108. *           Run HELLO2.EXE                                                *
  109. *           Run CLEANUP2.CMD                                              *
  110. *                                                                         *
  111. *   AMAKE2.CMD compiles and links HELLO2.EXE.                             *
  112. *   CLEANUP2.CMD cleans up the files built by MAKE2.CMD.                  *
  113. ***************************************************************************
  114.