home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / ioc / hello4 / readme.txt < prev   
Encoding:
Text File  |  1996-02-22  |  3.4 KB  |  91 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 4
  15.  
  16.   DESCRIPTION:
  17.     In version 4, you initially only see a slight 
  18.     change.  The menu items for setting the 
  19.     alignment contain function key designations 
  20.     and there is a new menu item, Edit.  
  21.     Selecting the Edit menu item displays a 
  22.     new dialog window with an entryfield and 
  23.     push buttons that provide the ability to 
  24.     change the static text contents. 
  25.  
  26.     The function key capability is provided by 
  27.     adding accelerator key definitions in the 
  28.     resource file.  The edit dialog demonstrates 
  29.     how to use an IFrameWindow as a dialog 
  30.     window and how to use the ICanvas 
  31.     classes and IControls to create the dialog.  
  32.     A new command handler is used to 
  33.     process the push buttons.  The sample 
  34.     also shows how to display a dialog modally. 
  35.  
  36.   CONCEPT/FEATURE: 
  37.     Sample program with frame window, menu bar from
  38.     resource, information area, accelerator resources,
  39.     and dialog window.
  40.  
  41.   HOW TO BUILD THE PROJECT FROM THE COMMAND LINE:
  42.     From within the directory containing the sample, simply type:
  43.          NMAKE
  44.  
  45.   HOW TO BUILD THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
  46.     Refer to the standard Workframe BUILD instructions
  47.  
  48.   HOW TO RUN THE PROJECT FROM THE COMMAND LINE:
  49.     From within the directory containing the sample, simply type
  50.     the name of the executable:
  51.          HELLO4
  52.  
  53.   HOW TO RUN THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
  54.     Refer to the standard Workframe RUN instructions
  55.  
  56.   SPECIAL NOTES:
  57.     If the sample fails to execute or 
  58.     abnormally ends, you can get 
  59.     more information about the failure 
  60.     by turning on the ICLUI trace.  
  61.     This is done by setting the 
  62.     environment variable ICLUI_TRACE 
  63.     as follows: 
  64.  
  65.         set ICLUI_TRACE=ON
  66.         set ICLUI_TRACETO=STDERR
  67.     
  68.     ICLUI_TRACETO controls where
  69.     the trace information is reported. 
  70.     With tracing turned on, ICLUI 
  71.     exception text will be written to a 
  72.     standard error file. For example: 
  73.  
  74.         sample >sample.out 2>&1
  75.     
  76.     The exception data is now in the file 
  77.     'sample.out'.
  78.  
  79.   ADDITIONAL HARDWARE/SOFTWARE REQUIREMENTS:
  80.     None
  81.  
  82.   VISUALAGE FOR C++ SAMPLES INFORMATION:
  83.     A complete listing of samples shipped with the VisualAge for C++
  84.     product can be found in the online GUIDE TO SAMPLES.  To access
  85.     this notebook, simply:
  86.  
  87.     -  Open the VISUALAGE FOR C++ program group in the Program
  88.        Manager window, then
  89.     -  Open the GUIDE TO SAMPLES notebook in the program group.
  90.  
  91.