home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / ioc / tbar2 / readme.txt < prev    next >
Encoding:
Text File  |  1996-02-22  |  3.6 KB  |  96 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. Tool Bar Sample 2
  15.  
  16.   DESCRIPTION:
  17.     The Tool Bar Sample 2 demonstrates
  18.     multiple toolbars and direct manipulation
  19.     (ie. drag/drop OS/2 only) of toolbars and toolbar
  20.     buttons within a simple editor.  The File
  21.     toolbar, Cut/Copy/Paste Edit toolbar, and
  22.     the Font toolbar locations and attributes
  23.     can be modified in the Toolbar notebook
  24.     under the Options menu item. Toolbar
  25.     buttons appear as bitmaps, bitmaps and
  26.     text, or just text. In addition, a toolbar can
  27.     be positioned on top, bottom, left, right,
  28.     free floating, or hidden. Toolbars can be
  29.     dragged to new locations within the
  30.     application or dragged outside the
  31.     application to create a free floating toolbar.
  32.     Under OS/2 only, toolbar buttons can also
  33.     be dragged to reorder the buttons in a
  34.     toolbar, move the button to a different
  35.     toolbar, or delete the button from
  36.     the toolbar. The File and Edit
  37.     menu items can also be dragged to a
  38.     toolbar and a representative toolbar button
  39.     is created.
  40.  
  41.   CONCEPT/FEATURE:
  42.     Sample program for demonstrating
  43.     IToolBar, IToolBarButton, IFlyText,
  44.     IFlyOverHelpHandler, and IMultiLineEdit.
  45.  
  46.   HOW TO BUILD THE PROJECT FROM THE COMMAND LINE:
  47.     From within the directory containing the sample, simply type:
  48.          NMAKE
  49.  
  50.   HOW TO BUILD THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
  51.     Refer to the standard Workframe BUILD instructions
  52.  
  53.   HOW TO RUN THE PROJECT FROM THE COMMAND LINE:
  54.     From within the directory containing the sample, simply type
  55.     the name of the executable:
  56.          TBAR2
  57.  
  58.   HOW TO RUN THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
  59.     Refer to the standard Workframe RUN instructions
  60.  
  61.   SPECIAL NOTES:
  62.     If the sample fails to execute or
  63.     abnormally ends, you can get
  64.     more information about the failure
  65.     by turning on the ICLUI trace.
  66.     This is done by setting the
  67.     environment variable ICLUI_TRACE
  68.     as follows:
  69.  
  70.         set ICLUI_TRACE=ON
  71.         set ICLUI_TRACETO=STDERR
  72.  
  73.     ICLUI_TRACETO controls where
  74.     the trace information is reported.
  75.     With tracing turned on, ICLUI
  76.     exception text will be written to a
  77.     standard error file. For example:
  78.  
  79.         sample >sample.out 2>&1
  80.  
  81.     The exception data is now in the file
  82.     'sample.out'.
  83.  
  84.   ADDITIONAL HARDWARE/SOFTWARE REQUIREMENTS:
  85.     None
  86.  
  87.   VISUALAGE FOR C++ SAMPLES INFORMATION:
  88.     A complete listing of samples shipped with the VisualAge for C++
  89.     product can be found in the online GUIDE TO SAMPLES.  To access
  90.     this notebook, simply:
  91.  
  92.     -  Open the VISUALAGE FOR C++ program group in the Program
  93.        Manager window, then
  94.     -  Open the GUIDE TO SAMPLES notebook in the program group.
  95.  
  96.