home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / ioc / hello3 / readme.txt < prev   
Encoding:
Text File  |  1996-02-22  |  3.3 KB  |  89 lines

  1. **********************************************************************
  2. * DISCLAIMER OF WARRANTIES:                                          *
  3. *                                                                    *
  4. * The following enclosed code is sample code created by IBM          *
  5. * Corporation.  This sample code is not part of any standard IBM     *
  6. * product and is provided to you solely for the purpose of assisting *
  7. * you in the development of your applications.  The code is provided *
  8. * "AS IS", without warranty of any kind.  IBM shall not be liable    *
  9. * for any damages arising out of your use of the sample code, even   *
  10. * if they have been advised of the possibility of such damages       *
  11. *                                                                    *
  12. **********************************************************************
  13.  
  14. Hello World Sample 3
  15.  
  16.   DESCRIPTION:
  17.     Internally, Hello version 3 adds a menu bar and
  18.     a command handler for handling the 
  19.     selection of the menu options.  The menu 
  20.     bar is both defined in and loaded from the 
  21.     resource file.  The information area in 
  22.     version 3 shows a short description of 
  23.     each highlighted menu selection and a 
  24.     separate status line showing the alignment 
  25.     of the Hello World static text which is set 
  26.     by the menu options. 
  27.  
  28.     Externally, you will see the newly added 
  29.     status line and can manipulate the 
  30.     alignment of "Hello World" using the menu 
  31.     bar.  Also, the menu bar item that reflects 
  32.     the current alignment will contain a check 
  33.     mark. 
  34.  
  35.   CONCEPT/FEATURE: 
  36.     Sample program with frame window, menu bar from
  37.     resource, and information area.
  38.  
  39.   HOW TO BUILD THE PROJECT FROM THE COMMAND LINE:
  40.     From within the directory containing the sample, simply type:
  41.          NMAKE
  42.  
  43.   HOW TO BUILD THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
  44.     Refer to the standard Workframe BUILD instructions
  45.  
  46.   HOW TO RUN THE PROJECT FROM THE COMMAND LINE:
  47.     From within the directory containing the sample, simply type
  48.     the name of the executable:
  49.          HELLO3
  50.  
  51.   HOW TO RUN THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
  52.     Refer to the standard Workframe RUN instructions
  53.  
  54.   SPECIAL NOTES:
  55.     If the sample fails to execute or 
  56.     abnormally ends, you can get 
  57.     more information about the failure 
  58.     by turning on the ICLUI trace.  
  59.     This is done by setting the 
  60.     environment variable ICLUI_TRACE 
  61.     as follows: 
  62.  
  63.         set ICLUI_TRACE=ON
  64.         set ICLUI_TRACETO=STDERR
  65.     
  66.     ICLUI_TRACETO controls where
  67.     the trace information is reported. 
  68.     With tracing turned on, ICLUI 
  69.     exception text will be written to a 
  70.     standard error file. For example: 
  71.  
  72.         sample >sample.out 2>&1
  73.     
  74.     The exception data is now in the file 
  75.     'sample.out'.
  76.  
  77.   ADDITIONAL HARDWARE/SOFTWARE REQUIREMENTS:
  78.     None
  79.  
  80.   VISUALAGE FOR C++ SAMPLES INFORMATION:
  81.     A complete listing of samples shipped with the VisualAge for C++
  82.     product can be found in the online GUIDE TO SAMPLES.  To access
  83.     this notebook, simply:
  84.  
  85.     -  Open the VISUALAGE FOR C++ program group in the Program
  86.        Manager window, then
  87.     -  Open the GUIDE TO SAMPLES notebook in the program group.
  88.  
  89.