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

  1. ***************************************************************************
  2. * HELLO WORLD SAMPLE PROGRAM - Version 3: Readme File (README3.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 Vision 3 Key Functions:                                 *
  19. *    - Add Alignment (Left, Center, Right) Menu Bar                       *
  20. *    - Add Command Processing to set the "Hello, World" alignment         *
  21. *    - Place check in front of the Left, Center or Right Menu Item        *
  22. *    - Create and maintain Status Line with current alignment status      *
  23. ***************************************************************************
  24.  
  25. ***************************************************************************
  26. * File list:                                                              *
  27. *   README3.TXT  - readme command file for HELLO3.EXE                     *
  28. *   AHELLOW3.CPP - source code for main() and AHelloWindow class          *
  29. *   AHELLOW3.HPP - class header file for AHellowWindow                    *
  30. *   AHELLOW3.H   - symbolic defintion file for HELLO3.EXE                 *
  31. *   AHELLOW3.RC  - resource file for HELLO3.EXE                           *
  32. *   AHELLOW3.ICO - icon file for HELLO3.EXE                               *
  33. *   AHELLOW3.DEF - module definition file for HELLO3.EXE                  *
  34. *   AMAKE3.MAK   - make file to create HELLO3.EXE                         *
  35. *   AMAKE3.CMD   - command file to create HELLO3.EXE                      *
  36. *   BUILD3.CMD   - command file to compile, link and run HELLO3.EXE       *
  37. *   CLEANUP3.CMD - command file to cleanup (erase) generated files:       *
  38. *                  HELLO3.EXE, AHELLOW3.OBJ,                              *
  39. *                  AHELLOW3.MAP, AHELLOW3.ERR, AHELLOW3.RES               *
  40. ***************************************************************************
  41.  
  42. ***************************************************************************
  43. * File Relationship Diagram (Files in uppercase, Programs in lowercase)   *
  44. *                                                                         *
  45. *                 AHELLOW3.H                     iconedit                 *
  46. *                    │  │                           │                     *
  47. * AHELLOW3.HPP       │  │                      AHELLOW3.ICO               *
  48. *      ║             │  │                           │                     *
  49. *      ║             │  │                           │                     *
  50. *      v             │  │                           │                     *
  51. * AHELLOW3.CPP <─────┘  └────────────> AHELLOW3.RC<─┘                     *
  52. *      ║                                   v                              *
  53. *      ║                                  rc -r                           *
  54. *      ║                                   v                              *
  55. *      v                               AHELLOW3.RES                       *
  56. *    icc -c ════> AHELLOW3.OBJ             │                              *
  57. *                     ║                    │                              *
  58. *                     ║                    │                              *
  59. * AHELLOW3.DEF ──>icc /Tdp ─>AHELLOW3.MAP  │                              *
  60. *                     │                    │                              *
  61. *                     v                    v                              *
  62. *                  HELLO3.EXE ──────────> rc ───────────> HELLO3.EXE      *
  63. ***************************************************************************
  64.  
  65. ***************************************************************************
  66. *                                                        ╔═══════════╗    *
  67. * Window Parent Relationship Diagram:           Diagram  ║Class Name ║    *
  68. *                                                   Key: ║───────────║    *
  69. *                   IApplication::current().run()        ║Object Name║    *
  70. *                                                        ╚═══════════╝    *
  71. *                                                                         *
  72. *                           ╔════════════╗                                *
  73. *                           ║AHelloWindow║                                *
  74. *                           ║────────────║                                *
  75. *                           ║ mainWindow ║                                *
  76. *                           ╚════════════╝                                *
  77. *                ╔════════╗       │           ╔══════╗                    *
  78. *                ║IMenuBar║───────┼────────── ║ITitle║                    *
  79. *                ║────────║       │           ╚══════╝                    *
  80. *                ║menuBar ║       │                                       *
  81. *                ╚════════╝       │                                       *
  82. *                                 │                                       *
  83. *        ┌────────────────────────┴────────────────────────────┐          *
  84. *  ╔═══════════╗             ╔═══════════╗                ╔═════════╗     *
  85. *  ║IStaticText║             ║IStaticText║                ║IInfoArea║     *
  86. *  ║───────────║             ║───────────║                ║─────────║     *
  87. *  ║ statusLine║             ║   hello   ║                ║infoArea ║     *
  88. *  ╚═══════════╝             ╚═══════════╝                ╚═════════╝     *
  89. *                           (Client Window)                               *
  90. ***************************************************************************
  91.  
  92. ***************************************************************************
  93. * The HELLO3.EXE Sample Application call be build in two ways:            *
  94. *                                                                         *
  95. * Option 1: Run BUILD3.CMD                                                *
  96. *                                                                         *
  97. *   This option will compile, link, execute HELLO3.EXE.  It will then     *
  98. *   cleanup all files created by BUILD3.CMD.                              *
  99. *                                                                         *
  100. * Option 2: Run AMAKE3.CMD                                                *
  101. *           Run HELLO3.EXE                                                *
  102. *           Run CLEANUP3.CMD                                              *
  103. *                                                                         *
  104. *   AMAKE3.CMD will compile and link HELLO3.EXE.                          *
  105. *   CLEANUP3.CMD will cleanup files build by AMAKE3.CMD                   *
  106. ***************************************************************************
  107.