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

  1. ******************************************************************************
  2. * List Box Sample Program 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. * List Box Sample Program                                                    *
  18. *   key functions:                                                           *
  19. *      - create a main window                                                *
  20. *      - run the current application                                         *
  21. *      - use listbox as client area                                          *
  22. *      - use listbox cursors to retrieve items from listbox                  *
  23. *      - use infoarea control                                                *
  24. *      - have a static text control as a frame extension                     *
  25. *      - demonstrate the use of tracing macros                               *
  26. *      - try-catch block around a piece of code                              *
  27. *      - extract information from an exception object                        *
  28. *      - register a default exception handler                                *
  29. *      - create and display a message box                                    *
  30. *      - process 'Command' events generated by menu selection                *
  31. *      - load strings from resource bound to the exe                         *
  32. ******************************************************************************
  33.  
  34. ***************************************************************************
  35. * File list:                                                              *
  36. *   README.TXT   - Readme file for LISTBOX.EXE.                           *
  37. *   ALISTBOX.CPP   - Source code for LISTBOX.EXE                          *
  38. *   ALISTBOX.HPP   - Class header file form LISTBOX.EXE.                  *
  39. *   ALISTBOX.H     - Defines for LISTBOX.EXE                              *
  40. *   ALISTBOX.RC    - Resource File for LISTBOX.EXE                        *
  41. *   AMAKE.MAK    - Make file to create LISTBOX.EXE.                       *
  42. *   AMAKE.CMD    - Command file to create LISTBOX.EXE.                    *
  43. *   CLEANUP.CMD  - Command file to clean up (erase) the following         *
  44. *                   generated files:  LISTBOX.EXE, ALISTBOX.OBJ,          *
  45. *                   ALISTBOX.RES, and ALISTBOX.ERR.                       *
  46. ***************************************************************************
  47.  
  48. ***************************************************************************
  49. * File Relationship Diagram (Files in uppercase, Programs in lowercase)   *
  50. *                                                                         *
  51. *                    ALISTBOX.H                                           *
  52. *                      │  │                                               *
  53. *  ALISTBOX.HPP        │  │                                               *
  54. *      │               │  │                                               *
  55. *      │               │  │                                               *
  56. *      v               │  │                                               *
  57. *  ALISTBOX.CPP <──────┘  └──────────> ALISTBOX.RC                        *
  58. *      │                                   │                              *
  59. *      │                                  rc -r                           *
  60. *      │                                   │                              *
  61. *      v                               ALISTBOX.RES                       *
  62. *    icc -c ────> ALISTBOX.OBJ             │                              *
  63. *                     │                    │                              *
  64. *                     v                    │                              *
  65. *                 icc /Tdp                 │                              *
  66. *                     │                    │                              *
  67. *                     v                    v                              *
  68. *                  LISTBOX.EXE ────────>  rc ───────────> LISTBOX.EXE     *
  69. ***************************************************************************
  70.  
  71. ***************************************************************************
  72. * To build, run and cleanup LISTBOX.EXE:                                  *
  73. *                                                                         *
  74. *           Run AMAKE.CMD                                                 *
  75. *           Run LISTBOX.EXE                                               *
  76. *           Run CLEANUP.CMD                                               *
  77. *                                                                         *
  78. *   AMAKE.CMD compiles and links LISTBOX.EXE.                             *
  79. *   CLEANUP.CMD cleans up the files built by AMAKE.CMD.                   *
  80. ***************************************************************************
  81.