home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / warptlk3.zip / TOOLKIT / SAMPLES / WPS / CARPP / README < prev    next >
Text File  |  1995-08-24  |  2KB  |  61 lines

  1. ******************************************************************************
  2.  
  3. *                 OS/2* 3.x WorkPlace Shell* .IDL files                      *
  4.  
  5. *           (C) Copyright IBM Corp. 1993-1995 All Rights Reserved            *
  6.  
  7. *                    IBM is a registered trademark of the                    *
  8.  
  9. *                International Business Machines Corporation                 *
  10.  
  11. *  U.S. Government Users Restricted Rights - Use, duplication or disclosure  *
  12.  
  13. *           restricted by GSA ADP Schedule Contract with IBM Corp.           *
  14.  
  15. ******************************************************************************
  16.  
  17.  
  18.   This README document contains information that describes how the
  19.   .IDL files for the WorkPlace Shell Car C++ Sample are to be used.
  20.  
  21.   These files are provided on an as-is basis for evaluation and
  22.   demonstration.  They are not intended for use with production code.
  23.  
  24.   The files included in this release have been provided for evaluation
  25.   by developers who have the SOMobjects Toolkit* and want to write their
  26.   WorkPlace Shell subclasses using the Interface Definition Language
  27.   (IDL) described in the SOMobjects Toolkit.
  28.  
  29.   CAR - WORKPLACE OBJECT SAMPLE
  30.   _____________________________
  31.  
  32.   CAR demonstrates how to create a workplace object using basic object oriented
  33.   programming techniques and the IBM System Object Model (SOM), including:
  34.  
  35.   o   Initializing an object
  36.   o   Adding settings pages to an object
  37.   o   Saving and restoring the state of an object
  38.   o   Modifying object context menus (adding and deleting menu items)
  39.   o   Querying of object class data
  40.   o   Processing context menu items
  41.   o   Implementing settings page dialog processing.
  42.  
  43.   The CAR sample is available as a C and C++ sample in the Toolkit.
  44.  
  45. To build and install the Car C++ Sample in this directory:
  46.  
  47. 1) edit the makefile CARPP.MAK so that it pertains to your environment
  48.  
  49.    ■  Set the TOOLKIT macro to the drive and path on which you installed
  50.       the Toolkit.
  51.    ■  Set the IBMCPP macro to point to the installed C Set++ compiler.
  52.    ■  Make sure that the WorkPlace Shell idls and headers are in your INCLUDE
  53.       and SMINCLUDE paths as necessary.
  54.  
  55. 2) nmake -f carpp.mak
  56.  
  57. 3) register the Carpp class and create an instance of Carpp
  58.    using a REXX script like INSTALL.CMD, or by using Object Utility/2.
  59.  
  60.  
  61.