home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / ioc / msgbox / readme.txt < prev   
Encoding:
Text File  |  1996-02-22  |  3.0 KB  |  82 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. Message Box Sample
  15.  
  16.   DESCRIPTION:
  17.     The msgbox sample shows seven types of 
  18.     message boxes and the responses that 
  19.     result from their use.  The results are 
  20.     displayed in a read-only IMultiLineEdit 
  21.     control.  As you interact with the message 
  22.     boxes, the MLE is updated with text 
  23.     indicating your selection.  After viewing the 
  24.     last message box, you can scroll the MLE 
  25.     or resize it to see how the word wrap style 
  26.     causes the automatic reflow of text. 
  27.  
  28.   CONCEPT/FEATURE: 
  29.     Sample program for demonstrating
  30.     message boxes and multiline edit.
  31.  
  32.   HOW TO BUILD THE PROJECT FROM THE COMMAND LINE:
  33.     From within the directory containing the sample, simply type:
  34.          NMAKE
  35.  
  36.   HOW TO BUILD THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
  37.     Refer to the standard Workframe BUILD instructions
  38.  
  39.   HOW TO RUN THE PROJECT FROM THE COMMAND LINE:
  40.     From within the directory containing the sample, simply type
  41.     the name of the executable:
  42.          MSGBOX
  43.  
  44.   HOW TO RUN THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
  45.     Refer to the standard Workframe RUN instructions
  46.  
  47.   SPECIAL NOTES:
  48.     If the sample fails to execute or 
  49.     abnormally ends, you can get 
  50.     more information about the failure 
  51.     by turning on the ICLUI trace.  
  52.     This is done by setting the 
  53.     environment variable ICLUI_TRACE 
  54.     as follows: 
  55.  
  56.         set ICLUI_TRACE=ON
  57.         set ICLUI_TRACETO=STDERR
  58.     
  59.     ICLUI_TRACETO controls where
  60.     the trace information is reported. 
  61.     With tracing turned on, ICLUI 
  62.     exception text will be written to a 
  63.     standard error file. For example: 
  64.  
  65.         sample >sample.out 2>&1
  66.     
  67.     The exception data is now in the file 
  68.     'sample.out'.
  69.  
  70.   ADDITIONAL HARDWARE/SOFTWARE REQUIREMENTS:
  71.     None
  72.  
  73.   VISUALAGE FOR C++ SAMPLES INFORMATION:
  74.     A complete listing of samples shipped with the VisualAge for C++
  75.     product can be found in the online GUIDE TO SAMPLES.  To access
  76.     this notebook, simply:
  77.  
  78.     -  Open the VISUALAGE FOR C++ program group in the Program
  79.        Manager window, then
  80.     -  Open the GUIDE TO SAMPLES notebook in the program group.
  81.  
  82.