home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / ioc / notebook / readme.txt < prev    next >
Encoding:
Text File  |  1996-02-22  |  3.0 KB  |  81 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. Notebook Sample
  15.  
  16.   DESCRIPTION:
  17.     The notebook sample demonstrates the use 
  18.     of INotebook class by placing four bitmap 
  19.     controls on separate notebook pages.  The 
  20.     notebook page tabs show a miniature
  21.     version of each bitmap while each page 
  22.     shows the full size image.  Because the 
  23.     bitmaps are placed in IViewport objects, 
  24.     you can scroll both horizontically and 
  25.     vertically whenever the bitmap does not fit. 
  26.  
  27.   CONCEPT/FEATURE: 
  28.     Sample program for demonstrating
  29.     notebook, viewport, and bitmaps.
  30.  
  31.   HOW TO BUILD THE PROJECT FROM THE COMMAND LINE:
  32.     From within the directory containing the sample, simply type:
  33.          NMAKE
  34.  
  35.   HOW TO BUILD THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
  36.     Refer to the standard Workframe BUILD instructions
  37.  
  38.   HOW TO RUN THE PROJECT FROM THE COMMAND LINE:
  39.     From within the directory containing the sample, simply type
  40.     the name of the executable:
  41.          NOTEBOOK
  42.  
  43.   HOW TO RUN THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
  44.     Refer to the standard Workframe RUN instructions
  45.  
  46.   SPECIAL NOTES:
  47.     If the sample fails to execute or 
  48.     abnormally ends, you can get 
  49.     more information about the failure 
  50.     by turning on the ICLUI trace.  
  51.     This is done by setting the 
  52.     environment variable ICLUI_TRACE 
  53.     as follows: 
  54.  
  55.         set ICLUI_TRACE=ON
  56.         set ICLUI_TRACETO=STDERR
  57.     
  58.     ICLUI_TRACETO controls where
  59.     the trace information is reported. 
  60.     With tracing turned on, ICLUI 
  61.     exception text will be written to a 
  62.     standard error file. For example: 
  63.  
  64.         sample >sample.out 2>&1
  65.     
  66.     The exception data is now in the file 
  67.     'sample.out'.
  68.  
  69.   ADDITIONAL HARDWARE/SOFTWARE REQUIREMENTS:
  70.     None
  71.  
  72.   VISUALAGE FOR C++ SAMPLES INFORMATION:
  73.     A complete listing of samples shipped with the VisualAge for C++
  74.     product can be found in the online GUIDE TO SAMPLES.  To access
  75.     this notebook, simply:
  76.  
  77.     -  Open the VISUALAGE FOR C++ program group in the Program
  78.        Manager window, then
  79.     -  Open the GUIDE TO SAMPLES notebook in the program group.
  80.  
  81.