home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / TOOLKIT / WPS / CAR / README < prev   
Text File  |  1995-06-05  |  2KB  |  83 lines

  1.  
  2.  
  3. CAR - WPS WPDataFile Subclass C
  4.  
  5.  
  6. DESCRIPTION:
  7.  
  8.  CAR and CARPP demonstrate how to create a Workplace Shell object
  9.  using basic object-oriented programming techniques and the
  10.  System Object Model (SOM), including:
  11.  
  12.  - Initializing an object
  13.  - Adding settings pages to an object
  14.  - Saving and restoring the state of an object
  15.   - Modifying object context menus (adding and deleting menu items)
  16.  - Querying of object class data
  17.  - Processing context menu items
  18.  - Implementing settings page dialog processing
  19.  
  20. CONCEPT/FEATURE:
  21.  
  22.  Illustrate the use of PM within the WPS
  23.  
  24. SAMPLE LOCATION:
  25.  
  26.  Inside the WPS Sample Programs inside the main VisualAge C++ for OS/2
  27.  folder on your OS/2 desktop.
  28.  
  29.  Note: This sample is not provided in project form.
  30.  
  31. SOURCE FILE LOCATION:
  32.  
  33.  X:\ibmcpp\samples\toolkit\wps\car
  34.  
  35.  where X: is the drive you installed the samples and document component
  36.  of VisualAge C++ for OS/2.
  37.  
  38.  
  39. HOW TO RUN THE SAMPLE:
  40.  
  41. -From your OS/2 desktop:  
  42.  Double-click on the sample's icon.
  43.  
  44. -From an OS/2 command prompt:
  45.  Place the current directory on your INCLUDE path by typing
  46.  
  47.  SET INCLUDE=%INCLUDE%X:\ibmcpp\samples\wps\car
  48.    
  49.  where X is the drive on which you installed the samples and 
  50.  document component of VisualAge C++ for OS/2.
  51.  
  52.  Then, to start the sample program, type the name of the executable 
  53.  file and press Enter.  If you have edited source code of a sample 
  54.  program and want to recompile, link, and run the files, use the 
  55.  NMAKE tool. Your output is the executable file.  For information 
  56.  about the NMAKE utility, see the OS/2 Tools Reference.
  57.  
  58.  
  59. SOFTWARE/HARDWARE PREREQUISITES:
  60.  
  61. - IBM VisualAge C++
  62. - OS/2 Warp
  63. - IBM or compatible 386 and up.
  64.  
  65.  
  66. REQUIRED FILES      DESCRIPTIONS  
  67.  
  68.   car.c             Implementation file
  69.   car.def           SOM generated .def
  70.   car.dll           Output DLL
  71.   car.h
  72.   car.hlp           Help resource file
  73.   car.ico
  74.   car.idl           SOM Interface definition file
  75.   car.ih
  76.   car.mak           MakeMake generated makefile
  77.   car.mak.txt
  78.   car.rc            Resource Compiler input
  79.   cardef.h
  80.   readme            This file
  81.  
  82.  
  83.