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