home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / help / wpkhlp.hlp (.txt) < prev    next >
OS/2 Help File  |  1999-05-12  |  6KB  |  177 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Help for Workplace Class List ΓòÉΓòÉΓòÉ
  3.  
  4. The Workplace Class List is used to create a workplace object class, and an 
  5. instance of a workplace object class. 
  6.  
  7. The primary window contains a list of the workplace object classes currently 
  8. registered in the OS/2 Workplace Shell.  Using this window, you can: 
  9.  
  10.      Create an instance of a workplace object class 
  11.      Replace a workplace object class 
  12.      Unreplace a workplace object class 
  13.      Add a workplace object class 
  14.      Delete a workplace object class 
  15.  
  16.  
  17. ΓòÉΓòÉΓòÉ 1.1. Create an instance of a Workplace Object Class ΓòÉΓòÉΓòÉ
  18.  
  19. To create an instance of a workplace object class: 
  20.  
  21.    1. Select the class from the list on the workplace object class window. 
  22.    2. Display the pop-up menu by single-clicking mouse button 2. 
  23.    3. Select the Create Instance choice. 
  24.    4. Fill-in the following input fields: 
  25.       Object Title 
  26.              is the text string you assign the object.  The text string becomes 
  27.              the object title and appears under the object when the object is 
  28.              displayed on the Workplace Shell.  When the object is in an opened 
  29.              state, the text string appears in the title bar of the window. 
  30.  
  31.       Class of new object 
  32.              is the name of the class of which the object you selected is a 
  33.              member. 
  34.  
  35.       Parameters 
  36.              is a series of keyname=value pairs (separated by semicolons) that 
  37.              change the behavior of the object.  Each object class defines the 
  38.              keynames and parameters it expects to see. All parameters have 
  39.              safe defaults, so it is never required to pass parameters to an 
  40.              object. 
  41.  
  42.       Location 
  43.              is one of the following values: 
  44.  
  45.                  A real name specified by a fully qualified path name. For 
  46.                   example: 
  47.  
  48.                                      C:\OS2\DLL
  49.  
  50.                  A logical name specified by a predefined symbol.  For 
  51.                   example, 
  52.  
  53.                   <WP_NOWHERE>                                 The hidden 
  54.                                                                folder. 
  55.                   <WP_DESKTOP>                                 The OS/2 desktop 
  56.                                                                (Workplace). 
  57.                   <WP_OS2SYS>                                  The OS/2 system 
  58.                                                                folder. 
  59.                   <WP_TEMPS>                                   The template 
  60.                                                                folder. 
  61.                   <WP_CONFIG>                                  The system setup 
  62.                                                                folder. 
  63.                   <WP_START>                                   The startup 
  64.                                                                folder. 
  65.                   <WP_INFO>                                    The information 
  66.                                                                folder. 
  67.                   <WP_DRIVES>                                  The drives 
  68.                                                                folder. 
  69.  
  70.  Related Information: 
  71.  
  72.      Replace a workplace object class 
  73.      Unreplace a workplace object class 
  74.      Add a workplace object class 
  75.      Delete a workplace object class 
  76.  
  77.  
  78. ΓòÉΓòÉΓòÉ 1.2. Replace a Workplace Object Class ΓòÉΓòÉΓòÉ
  79.  
  80. To replace an existing registered class: 
  81.  
  82.    1. Select the class from the list on the workplace object class window. 
  83.    2. Display the pop-up menu by single-clicking mouse button 2. 
  84.    3. Select the Replace choice.  Note that only classes that have already been 
  85.       registered are valid. 
  86.    4. Fill-in the following input fields: 
  87.       Original class 
  88.              is the name of the object class being replaced in the Workplace. 
  89.  
  90.       Replacement class 
  91.              if the name of the object class replacing the original class. 
  92.  
  93.  Note:  The replacement class must be a descendant of the original class. 
  94.         Replacing an object class is useful for modifying the behavior of 
  95.         objects which are instances of the original class but are not aware of 
  96.         the replacement class. 
  97.  
  98.  Related Information: 
  99.  
  100.      Create an instance of a workplace object class 
  101.      Unreplace a workplace object class 
  102.      Add a workplace object class 
  103.      Delete a workplace object class 
  104.  
  105.  
  106. ΓòÉΓòÉΓòÉ 1.3. Unreplace a Workplace Object Class ΓòÉΓòÉΓòÉ
  107.  
  108. To return a replaced class to its original class: 
  109.  
  110.    1. Select the replaced class from the list on the workplace object class 
  111.       window. 
  112.    2. Display the pop-up menu by single-clicking mouse button 2. 
  113.    3. Select the Unreplace choice.  Note that only classes that have already 
  114.       been replaced are valid. 
  115.    4. Fill-in the following input fields: 
  116.       Original class 
  117.              is the name of the replaced object class being returned to its 
  118.              original object class in the Workplace. 
  119.  
  120.       Replacement class 
  121.              if the name of the replaced object class being returned to its 
  122.              original object class. 
  123.  
  124.  Related Information: 
  125.  
  126.      Create an instance of a workplace object class 
  127.      Replace a workplace object class 
  128.      Add a workplace object class 
  129.      Delete a workplace object class 
  130.  
  131.  
  132. ΓòÉΓòÉΓòÉ 1.4. Adding a Workplace Object Class ΓòÉΓòÉΓòÉ
  133.  
  134. To add a class to the Workplace Shell: 
  135.  
  136.    1. Display the pop-up menu by single-clicking mouse button 2. 
  137.    2. Select the Add Class choice. 
  138.    3. Fill-in the following input fields: 
  139.       New class name 
  140.              is the name of object class you want to add to the Workplace. Type 
  141.              the class name exactly as it is built, case sensitive. 
  142.  
  143.       Library module 
  144.              is the name of the dynamic link library (DLL) that holds the 
  145.              object definition.  Type the library name with complete file 
  146.              specification information. 
  147.  
  148.              Note:  The DLL must be created by the IBM System Object Model. 
  149.  Related Information: 
  150.  
  151.      Create an instance of a workplace object class 
  152.      Replace a workplace object class 
  153.      Unreplace a workplace object class 
  154.      Delete a workplace object class 
  155.  
  156.  
  157. ΓòÉΓòÉΓòÉ 1.5. Delete a Workplace Object Class ΓòÉΓòÉΓòÉ
  158.  
  159. To delete a class from the Workplace Shell: 
  160.  
  161.    1. Select the class you want to delete from the list on the workplace object 
  162.       class window. 
  163.    2. Display the pop-up menu by single-clicking mouse button 2. 
  164.    3. Select the Delete a Class choice. 
  165.    4. Fill-in the following input fields: 
  166.       Name of class 
  167.              is the name of the class you want to delete from the Workplace. 
  168.  
  169.       Note:  You cannot delete system predefined classes.  For example, 
  170.              WPObject or WPClass. 
  171.  Related Information: 
  172.  
  173.      Create an instance of a workplace object class 
  174.      Replace a workplace object class 
  175.      Unreplace a workplace object class 
  176.      Add a workplace object class 
  177.