home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cset21v1.zip / IBMCPP / SAMPLES / ICLUI / VPORT / README.TXT < prev   
Text File  |  1993-05-12  |  5KB  |  74 lines

  1. ******************************************************************************
  2. * Canvas Classes Example 4 - ViewPort Readme (README.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. * NOTE: WE RECOMMEND USING A FIXED SPACE FONT TO LOOK AT THE SOURCE          *
  16. ******************************************************************************
  17. * Canvas Classes Example 4 - ViewPort                                        *
  18. *   key functions:                                                           *
  19. *      - create a main window                                                *
  20. *      - run the current application                                         *
  21. *      - create a viewport and use as client area                            *
  22. *      - create a bitmap control                                             *
  23. *      - load the bitmap from resource bound to the exe                      *
  24. *      - load strings from resource bound to the exe                         *
  25. ******************************************************************************
  26.  
  27. ***************************************************************************
  28. * File list:                                                              *
  29. *   README.TXT   - Readme file for VPORT.EXE.                             *
  30. *   AVPORT.CPP   - Source code for VPORT.EXE                              *
  31. *   AVPORT.HPP   - Class header file form VPORT.EXE.                      *
  32. *   AVPORT.H     - Defines for VPORT.EXE                                  *
  33. *   AVPORT.RC    - Resource File for VPORT.EXE                            *
  34. *   AMAKE.MAK    - Make file to create VPORT.EXE.                         *
  35. *   AMAKE.CMD    - Command file to create VPORT.EXE.                      *
  36. *   CLEANUP.CMD  - Command file to clean up (erase) the following         *
  37. *                   generated files:  VPORT.EXE, AVPORT.OBJ,              *
  38. *                   AVPORT.RES, and AVPORT.ERR.                           *
  39. ***************************************************************************
  40.  
  41. ***************************************************************************
  42. * File Relationship Diagram (Files in uppercase, Programs in lowercase)   *
  43. *                                                                         *
  44. *                  AVPORT.H                                               *
  45. *                    │  │                                                 *
  46. *  AVPORT.HPP        │  │                                                 *
  47. *      │             │  │                                                 *
  48. *      │             │  │                                                 *
  49. *      v             │  │                                                 *
  50. *  AVPORT.CPP <──────┘  └────────────> AVPORT.RC                          *
  51. *      │                                   │                              *
  52. *      │                                  rc -r                           *
  53. *      │                                   │                              *
  54. *      v                               AVPORT.RES                         *
  55. *    icc -c ────> AVPORT.OBJ               │                              *
  56. *                     │                    │                              *
  57. *                     v                    │                              *
  58. *                 icc /Tdp                 │                              *
  59. *                     │                    │                              *
  60. *                     v                    v                              *
  61. *                  VPORT.EXE ──────────>  rc ───────────> VPORT.EXE       *
  62. ***************************************************************************
  63.  
  64. ***************************************************************************
  65. * To build, run and cleanup VPORT.EXE:                                    *
  66. *                                                                         *
  67. *           Run AMAKE.CMD                                                 *
  68. *           Run VPORT.EXE                                                 *
  69. *           Run CLEANUP.CMD                                               *
  70. *                                                                         *
  71. *   AMAKE.CMD compiles and links VPORT.EXE.                               *
  72. *   CLEANUP.CMD cleans up the files built by AMAKE.CMD.                   *
  73. ***************************************************************************
  74.