home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / ioc / magnify / readme.txt < prev   
Encoding:
Text File  |  1996-02-22  |  3.1 KB  |  85 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. Magnify Sample
  15.  
  16.   DESCRIPTION:
  17.     The Magnify Sample illustrates creating 
  18.     IGBitmaps given a desktop rectangle.  You 
  19.     specify the rectangle centered around the 
  20.     current mouse pointer.  Based on a timer, 
  21.     the rectangle around the mouse pointer is 
  22.     passed to an IGBitmap constructor. A 
  23.     bitmap is then displayed in the client area. 
  24.     When the client area of the sample 
  25.     application is larger than the capturing 
  26.     rectangle, it has the affect of magnifying 
  27.     the desktop image.
  28.  
  29.   CONCEPT/FEATURE: 
  30.     Sample program for demonstrating
  31.     IGBitmap, IGraphicContext, IGraphicBundle, 
  32.     IBitmapControl, INumericSpinButton, and 
  33.     ITimer. 
  34.  
  35.   HOW TO BUILD THE PROJECT FROM THE COMMAND LINE:
  36.     From within the directory containing the sample, simply type:
  37.          NMAKE
  38.  
  39.   HOW TO BUILD THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
  40.     Refer to the standard Workframe BUILD instructions
  41.  
  42.   HOW TO RUN THE PROJECT FROM THE COMMAND LINE:
  43.     From within the directory containing the sample, simply type
  44.     the name of the executable:
  45.          MAGNIFY
  46.  
  47.   HOW TO RUN THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
  48.     Refer to the standard Workframe RUN instructions
  49.  
  50.   SPECIAL NOTES:
  51.     If the sample fails to execute or 
  52.     abnormally ends, you can get 
  53.     more information about the failure 
  54.     by turning on the ICLUI trace.  
  55.     This is done by setting the 
  56.     environment variable ICLUI_TRACE 
  57.     as follows: 
  58.  
  59.         set ICLUI_TRACE=ON
  60.         set ICLUI_TRACETO=STDERR
  61.     
  62.     ICLUI_TRACETO controls where
  63.     the trace information is reported. 
  64.     With tracing turned on, ICLUI 
  65.     exception text will be written to a 
  66.     standard error file. For example: 
  67.  
  68.         sample >sample.out 2>&1
  69.     
  70.     The exception data is now in the file 
  71.     'sample.out'.
  72.  
  73.   ADDITIONAL HARDWARE/SOFTWARE REQUIREMENTS:
  74.     None
  75.  
  76.   VISUALAGE FOR C++ SAMPLES INFORMATION:
  77.     A complete listing of samples shipped with the VisualAge for C++
  78.     product can be found in the online GUIDE TO SAMPLES.  To access
  79.     this notebook, simply:
  80.  
  81.     -  Open the VISUALAGE FOR C++ program group in the Program
  82.        Manager window, then
  83.     -  Open the GUIDE TO SAMPLES notebook in the program group.
  84.  
  85.