home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / source / tlktbeta / samples / wpstutor / readme < prev    next >
Encoding:
Text File  |  1993-07-20  |  1.9 KB  |  42 lines

  1.  
  2.                          WORKPLACE SHELL SAMPLE README
  3.                          -----------------------------
  4.  
  5. This sample application is a beta version of a sample to be released
  6. with the OS/2 Toolkit.  The WPS Tutor sample helps the user understand
  7. the order in which object methods are invoked by the Workplace Shell.
  8. As a method for the sample object class is executed, the method's name
  9. and a description of its function are displayed to the user in a
  10. Presentation Manager window.
  11.  
  12. This object class subclasses the WPDataFile class.  Most WPS instance
  13. and class methods are overridden so that information about the methods
  14. can be displayed to the user.
  15.  
  16. This sample is designed to be more of a tutorial for Workplace Shell
  17. programming than a programming exercise.
  18.  
  19. This Workplace Shell sample can be used by installing it using the
  20. INSTALL.CMD file located in this subdirectory.  This installation
  21. procedure copies the required DLLs and executable files to the
  22. appropriate TKBETA subdirectories.  The procedure assumes that your
  23. CONFIG.SYS file has already been modified so that the WPS classes can
  24. be found.  For example,
  25.  
  26.         TKBETA\OS2BIN  should be in PATH
  27.         TKBETA\DLL     should be in LIBPATH
  28.         TKBETA\OS2HELP should be in HELP
  29.         TKBETA\OS2LIB  should be in LIB
  30.  
  31. INSTALL.CMD registers the class with the Workplace Shell.  Also, an
  32. instance of this object class is created on the desktop.
  33.  
  34. The OS/2 Toolkit Version 2.x is required to build the sample.
  35. A makefile (with the extension .MAK) is supplied with the sample.
  36. This file references the OS2H, the SC and the OS2LIB directories in
  37. the TKBETA directory structure.  In order to build the sample, either
  38. (1) the makefile must be modified to reference the OS2H, the SC and
  39. the OS2LIB files in the TOOLKT2x directory structure, or (2) the OS2H,
  40. the SC and the OS2LIB files must be copied to the TKBETA directory
  41. structure.
  42.