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

  1. /******************************************************************************
  2. *
  3. *  File Name  : SHOWDESC.RC
  4. *
  5. *  Description: Defines the resources for the 'Show Method Description'
  6. *               program.
  7. *
  8. *  Copyright (C) 1993 IBM Corporation
  9. *
  10. *      DISCLAIMER OF WARRANTIES.  The following [enclosed] code is
  11. *      sample code created by IBM Corporation. This sample code is not
  12. *      part of any standard or IBM product and is provided to you solely
  13. *      for  the purpose of assisting you in the development of your
  14. *      applications.  The code is provided "AS IS", without
  15. *      warranty of any kind.  IBM shall not be liable for any damages
  16. *      arising out of your use of the sample code, even if they have been
  17. *      advised of the possibility of such damages.                                                    *
  18. *
  19. ******************************************************************************/
  20.  
  21. /*-----------------------------------------------------------------------------
  22. *    INCLUDE FILES
  23. *----------------------------------------------------------------------------*/
  24. #include <os2.h>
  25. #include "showdesc.h"
  26.  
  27. /*-----------------------------------------------------------------------------
  28. *    SHOW METHOD DESCRIPTION ICON
  29. *----------------------------------------------------------------------------*/
  30. ICON IDR_MAIN showdesc.ico
  31.  
  32. /*-----------------------------------------------------------------------------
  33. *    SHOW METHOD DESCRIPTION MENU
  34. *----------------------------------------------------------------------------*/
  35. MENU IDR_MAIN
  36. {
  37.    SUBMENU "~Edit", IDM_EDIT, MIS_TEXT
  38.    {
  39.       MENUITEM    "~Copy\tCtrl+Insert",   IDM_EDITCOPY,     MIS_TEXT
  40.       MENUITEM    "Cl~ear\tDelete",       IDM_EDITCLEAR,    MIS_TEXT
  41.       MENUITEM    "Clear ~All",           IDM_EDITCLEARALL, MIS_TEXT
  42.    }
  43. }
  44.  
  45. /*-----------------------------------------------------------------------------
  46. *    ACCELERATOR TABLE:
  47. *       "Copy"  = Ctrl+Ins
  48. *       "Clear" = Del
  49. *----------------------------------------------------------------------------*/
  50. ACCELTABLE IDR_MAIN
  51. {
  52.    VK_INSERT,      IDM_EDITCOPY,       VIRTUALKEY,    CONTROL
  53.    VK_DELETE,      IDM_EDITCLEAR,      VIRTUALKEY
  54. }
  55.  
  56.  
  57. /*-----------------------------------------------------------------------------
  58. *    STRING RESOURCES
  59. *
  60. *    These strings are used when displaying errors to the user, when displaying
  61. *    Workplace Shell method names and descriptions, and when determining the
  62. *    default title for the application.
  63. *----------------------------------------------------------------------------*/
  64. STRINGTABLE
  65. {
  66.    IDS_APPNAME                     "Show Method Description"
  67.    IDS_TITLEBARSEPARATOR           " - "
  68.    IDS_WARNING                     "Warning"
  69.    IDS_HARD_BREAK                  "\x0A"
  70. }
  71.  
  72. /*-----------------------------------------------------------------------------
  73. *    MESSAGE RESOURCES
  74. *
  75. *    These messages are used when displaying errors to the user, or when
  76. *    displaying Workplace Shell method names and descriptions.
  77. *----------------------------------------------------------------------------*/
  78. MESSAGETABLE
  79. {
  80.    IDMSG_INITFAILED            "Show Method Description initalization failed."
  81.    IDMSG_CANNOTLOADEXITLIST    "Cannot load Exit List processor."
  82.  
  83.    IDM_UNIDENTIFIED_METHOD     "Unidentified Method"
  84.    IDM_UNIDENTIFIED_METHOD_MSG "There is no description available for this method."
  85.  
  86.    IDS_WPADDFILEMENUPAGE           "wpAddFileMenuPage"
  87.    IDS_WPADDFILEMENUPAGE_MSG       "This instance method is invoked by "
  88.                                    "'wpAddSettingsPages' when adding the MENU "
  89.                                    "page to an object's settings notebook.  "
  90.                                    "The method is overridden in order to "
  91.                                    "replace or remove the MENU page from an "
  92.                                    "object's settings notebook."
  93.    IDS_WPADDFILETYPEPAGE           "wpAddFileTypePage"
  94.    IDS_WPADDFILETYPEPAGE_MSG       "This instance method is invoked by "
  95.                                    "'wpAddSettingsPages' when adding the TYPE "
  96.                                    "page to an object's settings notebook.  "
  97.                                    "The method is overridden in order to "
  98.                                    "replace or remove the TYPE page from an "
  99.                                    "object's settings notebook."
  100.    IDS_WPADDFILE1PAGE              "wpAddFile1Page"
  101.    IDS_WPADDFILE1PAGE_MSG          "This instance method is invoked by "
  102.                                    "'wpAddSettingsPages' when adding the FILE "
  103.                                    "1 page to an object's settings notebook.  "
  104.                                    "The method is overridden in order to "
  105.                                    "replace or remove the FILE 1 page from an "
  106.                                    "object's settings notebook."
  107.    IDS_WPADDFILE2PAGE              "wpAddFile2Page"
  108.    IDS_WPADDFILE2PAGE_MSG          "This instance method is invoked by "
  109.                                    "'wpAddSettingsPages' when adding the FILE "
  110.                                    "2 page to an object's settings notebook.  "
  111.                                    "The method is overridden in order to "
  112.                                    "replace or remove the FILE 2 page from an "
  113.                                    "object's settings notebook."
  114.    IDS_WPADDFILE3PAGE              "wpAddFile3Page"
  115.    IDS_WPADDFILE3PAGE_MSG          "This instance method is invoked by "
  116.                                    "'wpAddSEttingsPages' when adding the FILE "
  117.                                    "3 page to an object's settings notebook.  "
  118.                                    "The method is overridden in order to "
  119.                                    "replace or remove the FILE 3 page from an "
  120.                                    "object's settings notebook."
  121.    IDS_WPADDOBJECTGENERALPAGE      "wpAddObjectGeneralPage"
  122.    IDS_WPADDOBJECTGENERALPAGE_MSG  "This instance method is invoked by "
  123.                                    "'wpAddSettingsPages' when adding the "
  124.                                    "GENERAL page to an object's settings "
  125.                                    "notebook.  This method is overridden in "
  126.                                    "order to replace or remove the GENERAL "
  127.                                    "page from an object's settings notebook."
  128.    IDS_WPADDSETTINGSPAGES          "wpAddSettingsPages"
  129.    IDS_WPADDSETTINGSPAGES_MSG      "This instance method is invoked when "
  130.                                    "settings pages are added to an object's "
  131.                                    "settings notebook.  This method is "
  132.                                    "overridden in order to add pages to or "
  133.                                    "remove pages from the settings notebook."
  134.    IDS_WPADDTOOBJUSELIST           "wpAddToObjUseList"
  135.    IDS_WPADDTOOBJUSELIST_MSG       "This instance method is invoked to add a "
  136.                                    "specified item type to an object's in-use "
  137.                                    "list maintained by the Workplace Shell.  "
  138.                                    "This in-use list enables methods such as "
  139.                                    "'wpSwitchTo' to find the view of an object."
  140.    IDS_WPALLOCMEM                  "wpAllocMem"
  141.    IDS_WPALLOCMEM_MSG              "This instance method is invoked to "
  142.                                    "allocate memory for use by an object."
  143.    IDS_WPCLOSE                     "wpClose"
  144.    IDS_WPCLOSE_MSG                 "This instance method is invoked when "
  145.                                    "closing all open views of an object, as "
  146.                                    "determined by cycling through an object's "
  147.                                    "in-use list.  'wpClose' is overridden "
  148.                                    "to perform class-specific processing for "
  149.                                    "closing views."
  150.    IDS_WPCOPIEDFROMTEMPLATE        "wpCopiedFromTemplate"
  151.    IDS_WPCOPIEDFROMTEMPLATE_MSG    "This instance method is invoked "
  152.                                    "immediately after a new object is created "
  153.                                    "from a template.  The method is "
  154.                                    "overridden to perform class specific "
  155.                                    "initialization on the created object."
  156.    IDS_WPCOPYOBJECT                "wpCopyObject"
  157.    IDS_WPCOPYOBJECT_MSG            "This instance method is invoked to create "
  158.                                    "a new copy of an existing object.  The "
  159.                                    "method can be overridden to keep track of "
  160.                                    "where object instances are."
  161.    IDS_WPCREATEFROMTEMPLATE        "wpCreateFromTemplate"
  162.    IDS_WPCREATEFROMTEMPLATE_MSG    "This instance method is invoked to create "
  163.                                    "an object from a template.  The new "
  164.                                    "object will be an identical copy of the "
  165.                                    "template object with the exception that "
  166.                                    "the OBJSTYLE_TEMPLATE object style will be "
  167.                                    "removed."
  168.    IDS_WPCREATESHADOWOBJECT        "wpCreateShadowObject"
  169.    IDS_WPCREATESHADOWOBJECT_MSG    "This instance method is invoked to create "
  170.                                    "a shadow of an object.  The new object is "
  171.                                    "created as an instance of the 'WPShadow' "
  172.                                    "class."
  173.    IDS_WPDELETE                    "wpDelete"
  174.    IDS_WPDELETE_MSG                "This instance method is invoked to delete "
  175.                                    "an object and prompt for confirmation if "
  176.                                    "necessary."
  177.    IDS_WPDELETEFROMOBJUSELIST      "wpDeleteFromObjUseList"
  178.    IDS_WPDELETEFROMOBJUSELIST_MSG  "This instance method is invoked to remove "
  179.                                    "a specified item type from an object's "
  180.                                    "in-use list.  If the view is the only open "
  181.                                    "view of the object, the object's icon is "
  182.                                    "modified to remove the 'in use' emphasis."
  183.    IDS_WPDOESOBJECTMATCH           "wpDoesObjectMatch"
  184.    IDS_WPDOESOBJECTMATCH_MSG       "This instance method is invoked to "
  185.                                    "determine if an object matches specified "
  186.                                    "extended search criteria, and it is only "
  187.                                    "invoked if the object class has such "
  188.                                    "criteria.  The method should be overridden "
  189.                                    "by classes which introduce extended search "
  190.                                    "criteria."
  191.    IDS_WPDRAGGEDOVEROBJECT         "wpDraggedOverObject"
  192.    IDS_WPDRAGGEDOVEROBJECT_MSG     "This method is invoked for a source object "
  193.                                    "that is being dragged.  This method is "
  194.                                    "typically called by objects that require "
  195.                                    "participation from the source object when "
  196.                                    "a drop occurs.  Override this method to "
  197.                                    "allow an object to perform a drop "
  198.                                    "operation."
  199.    IDS_WPDRAGOVER                  "wpDragOver"
  200.    IDS_WPDRAGOVER_MSG              "This instance method is invoked for each "
  201.                                    "DM_DRAGOVER message received by an object "
  202.                                    "to inform it that other objects are being "
  203.                                    "dragged over it. 'wpDragOver' is "
  204.                                    "overridden to indicate whether the object "
  205.                                    "can serve as a target object for a drop "
  206.                                    "operation."
  207.    IDS_WPDROP                      "wpDrop"
  208.    IDS_WPDROP_MSG                  "This instance method is invoked when a "
  209.                                    "DM_DROP message is received by an object "
  210.                                    "to inform it that another object has been "
  211.                                    "dropped on it.  'wpDrop' is overridden to "
  212.                                    "handle the drop of another object."
  213.    IDS_WPDROPPEDONOBJECT           "wpDroppedOnObject"
  214.    IDS_WPDROPPEDONOBJECT_MSG       "This instance method is invoked for a "
  215.                                    "source object that has just been dragged "
  216.                                    "when the target object that it was dropped "
  217.                                    "on to does not know what action to "
  218.                                    "perform.  This method would not normally "
  219.                                    "be called outside the scope of a drag or "
  220.                                    "drop operation."
  221.    IDS_WPENDCONVERSATION           "wpEndConversation"
  222.    IDS_WPENDCONVERSATION_MSG       "This instance method is invoked when an "
  223.                                    "object receives a DM_ENDCONVERSATION "
  224.                                    "message to notify it that a drag or drop "
  225.                                    "operation is complete.  "
  226.                                    "'wpEndConversation' is overridden to "
  227.                                    "perform any actions once a drag or drop "
  228.                                    "operation is complete."
  229.    IDS_WPFILTERPOPUPMENU           "wpFilterPopupMenu"
  230.    IDS_WPFILTERPOPUPMENU_MSG       "This instance method is invoked when a "
  231.                                    "request is made to display an object's "
  232.                                    "pop-up window in order to to modify that "
  233.                                    "object's context menu.  The method is "
  234.                                    "overridden to remove or reinstate standard "
  235.                                    "pop-up menu actions that are inherited."
  236.    IDS_WPFINDUSEITEM               "wpFindUseItem"
  237.    IDS_WPFINDUSEITEM_MSG           "This instance method is invoked to "
  238.                                    "retrieve an item type from an object's "
  239.                                    "in-use list by searching that list for all "
  240.                                    "items previously added via the "
  241.                                    "'wpAddToObjUseList' method.  This method "
  242.                                    "can be called to determine how an object "
  243.                                    "is currently being used."
  244.    IDS_WPFORMATDRAGITEM            "wpFormatDragItem"
  245.    IDS_WPFORMATDRAGITEM_MSG        "This instance method is invoked when the "
  246.                                    "user first starts to drag an object in "
  247.                                    "order to format the object's drag "
  248.                                    "information.  The method is overridden by "
  249.                                    "classes which require special processing "
  250.                                    "to initiate a drag or drop operation."
  251.    IDS_WPFREE                      "wpFree"
  252.    IDS_WPFREE_MSG                  "This instance method is invoked to destroy "
  253.                                    "an object and deallocate its associated "
  254.                                    "resources.  'wpFree' is overridden by "
  255.                                    "objects that need to do special processing "
  256.                                    "before deletion."
  257.    IDS_WPFREEMEM                   "wpFreeMem"
  258.    IDS_WPFREEMEM_MSG               "This instance method is invoked to "
  259.                                    "deallocate memory allocated by a call to "
  260.                                    "the 'wpAllocMem' method.  'wpFreeMem' is "
  261.                                    "overridden to provide the deallocation of "
  262.                                    "memory allocated by an override method of "
  263.                                    "'wpAllocMem'."
  264.    IDS_WPHIDE                      "wpHide"
  265.    IDS_WPHIDE_MSG                  "This instance method is invoked to hide or "
  266.                                    "minimize open views of an object, "
  267.                                    "depending upon the system setting.  This "
  268.                                    "method will turn all windows owned by an "
  269.                                    "object invisible."
  270.    IDS_WPINITDATA                  "wpInitData"
  271.    IDS_WPINITDATA_MSG              "This instance method is invoked when an "
  272.                                    "object is created or when it is awakened "
  273.                                    "from the dormant state so that it can "
  274.                                    "initialize its instance data and allocate "
  275.                                    "resources.  This method is overridden by "
  276.                                    "classes that have instance variables."
  277.    IDS_WPINSERTPOPUPMENUITEMS      "wpInsertPopupMenuItems"
  278.    IDS_WPINSERTPOPUPMENUITEMS_MSG  "This instance method is invoked to insert "
  279.                                    "items into an object's popup menu."
  280.    IDS_WPINSERTSETTINGSPAGE        "wpInsertSettingsPage"
  281.    IDS_WPINSERTSETTINGSPAGE_MSG    "This instance method is invoked to insert "
  282.                                    "a page into an object's settings notebook."
  283.    IDS_WPMENUITEMSELECTED          "wpMenuItemSelected"
  284.    IDS_WPMENUITEMSELECTED_MSG      "This instance method is called when a "
  285.                                    "pop-up menu item is selected so an object "
  286.                                    "can process the selection.  The "
  287.                                    "method is overridden to process specific "
  288.                                    "menu item actions or to modify the "
  289.                                    "behavior of a menu item action provided by "
  290.                                    "an ancestor class."
  291.    IDS_WPMODIFYPOPUPMENU           "wpModifyPopupMenu"
  292.    IDS_WPMODIFYPOPUPMENU_MSG       "This instance method is called when a "
  293.                                    "request is made to display an object's "
  294.                                    "pop-up menu.  The method is overridden to "
  295.                                    "add class-specific actions to an object's "
  296.                                    "pop-up menu."
  297.    IDS_WPOPEN                      "wpOpen"
  298.    IDS_WPOPEN_MSG                  "This instance method is called to open a "
  299.                                    "new view to an object.  'wpOpen' is "
  300.                                    "overridden to process class-specific open "
  301.                                    "views and to modify the behavior defined "
  302.                                    "in an ancestor class."
  303.    IDS_WPQUERYCONFIRMATIONS        "wpQueryConfirmations"
  304.    IDS_WPQUERYCONFIRMATIONS_MSG    "This instance method is invoked to "
  305.                                    "determine which confirmation flags are set "
  306.                                    "for an object.  "
  307.    IDS_WPQUERYDEFAULTVIEW          "wpQueryDefaultView"
  308.    IDS_WPQUERYDEFAULTVIEW_MSG      "This instance method is invoked to query "
  309.                                    "the current default open view of an "
  310.                                    "object.  The default open view is "
  311.                                    "displayed when a user double-clicks on an "
  312.                                    "object or when the user selects 'Open' "
  313.                                    "without selecting an item in the open "
  314.                                    "cascade."
  315.    IDS_WPQUERYDETAILSDATA          "wpQueryDetailsData"
  316.    IDS_WPQUERYDETAILSDATA_MSG      "This instance method is invoked to query "
  317.                                    "the current details data of an object.  "
  318.                                    "This method is overridden by objects that "
  319.                                    "have information to display in the DETAILS "
  320.                                    "view."
  321.    IDS_WPQUERYHANDLE               "wpQueryHandle"
  322.    IDS_WPQUERYHANDLE_MSG           "This instance method is invoked to obtain "
  323.                                    "a persistent object handle for a given "
  324.                                    "object instance.  The object handle "
  325.                                    "returned is valid across IPLs and "
  326.                                    "completely unique on the given machine."
  327.    IDS_WPQUERYICON                 "wpQueryIcon"
  328.    IDS_WPQUERYICON_MSG             "This instance method is invoked to query "
  329.                                    "the current icon of an object."
  330.    IDS_WPQUERYICONDATA             "wpQueryIconData"
  331.    IDS_WPQUERYICONDATA_MSG         "This instance method is invoked to query "
  332.                                    "the data to be used for an object's "
  333.                                    "current icon."
  334.    IDS_WPQUERYREALNAME             "wpQueryRealName"
  335.    IDS_WPQUERYREALNAME_MSG         "This instance method is invoked to query "
  336.                                    "the physical file name of an object.  The "
  337.                                    "real name of the file object can be used "
  338.                                    "with any of the DosXXX functions which act "
  339.                                    "on file names."
  340.    IDS_WPQUERYSTYLE                "wpQueryStyle"
  341.    IDS_WPQUERYSTYLE_MSG            "This instance method is invoked to query "
  342.                                    "the current class style of an object."
  343.    IDS_WPQUERYTITLE                "wpQueryTitle"
  344.    IDS_WPQUERYTITLE_MSG            "This instance method is invoked to query "
  345.                                    "the current title of an object."
  346.    IDS_WPQUERYTYPE                 "wpQueryType"
  347.    IDS_WPQUERYTYPE_MSG             "This instance method is invoked to query "
  348.                                    "the file type of a file-system-based "
  349.                                    "object.  The type of a file is designated "
  350.                                    "by its .TYPE extended attribute value."
  351.    IDS_WPREGISTERVIEW              "wpRegisterView"
  352.    IDS_WPREGISTERVIEW_MSG          "This instance method is generally called "
  353.                                    "during processing of the 'wpOpen' method "
  354.                                    "in order to register a new open view for "
  355.                                    "an object with the Workplace Shell."
  356.    IDS_WPRENDER                    "wpRender"
  357.    IDS_WPRENDER_MSG                "This instance method is invoked to request "
  358.                                    "a drag or drop rendering format from an "
  359.                                    "object.  This method is called when an "
  360.                                    "object receives a DM_RENDER message.  The "
  361.                                    "method should be overridden to return a "
  362.                                    "class-specific rendering mechanism and "
  363.                                    "format."
  364.    IDS_WPRENDERCOMPLETE            "wpRenderComplete"
  365.    IDS_WPRENDERCOMPLETE_MSG        "This instance method is invoked when an "
  366.                                    "object receives a DM_RENDERCOMPLETE "
  367.                                    "message to notify the object that a drag "
  368.                                    "or drop rendering request is complete.  "
  369.                                    "The method should be overridden if a "
  370.                                    "class has a special rendering mechanism "
  371.                                    "and format."
  372.    IDS_WPRESTORE                   "wpRestore"
  373.    IDS_WPRESTORE_MSG               "This instance method is invoked to restore "
  374.                                    "an object's views from the hidden or "
  375.                                    "minimized states.  The method is the "
  376.                                    "inverse of the 'wpHide' method."
  377.    IDS_WPRESTOREDATA               "wpRestoreData"
  378.    IDS_WPRESTOREDATA_MSG           "This instance method is invoked to restore "
  379.                                    "an object's binary instance data.  The "
  380.                                    "method restores data that was saved by a "
  381.                                    "call to 'wpSaveData'."
  382.    IDS_WPRESTORELONG               "wpRestoreLong"
  383.    IDS_WPRESTORELONG_MSG           "This instance method is invoked to restore "
  384.                                    "a 32-bit instance data value that was "
  385.                                    "saved by a call to 'wpSaveLong'."
  386.    IDS_WPRESTORESTATE              "wpRestoreState"
  387.    IDS_WPRESTORESTATE_MSG          "This instance method is invoked to restore "
  388.                                    "the state of an object that was saved "
  389.                                    "during processing of the 'wpSaveState' "
  390.                                    "method.  This method should be overridden "
  391.                                    "by all classes which provide settings that "
  392.                                    "can be saved."
  393.    IDS_WPRESTORESTRING             "wpRestoreString"
  394.    IDS_WPRESTORESTRING_MSG         "This instance method is invoked to restore "
  395.                                    "an ASCIIZ instance data string for an "
  396.                                    "object.  This method restores an ASCIIZ "
  397.                                    "string that was saved by a call to "
  398.                                    "'wpSaveString'."
  399.    IDS_WPSAVEDATA                  "wpSaveData"
  400.    IDS_WPSAVEDATA_MSG              "This instance method is invoked to save "
  401.                                    "binary instance data for an object.  The "
  402.                                    "saved data can be restored by issuing a "
  403.                                    "call to 'wpRestoreData'."
  404.    IDS_WPSAVEDEFERRED              "wpSaveDeferred"
  405.    IDS_WPSAVEDEFERRED_MSG          "This instance method tells the system to "
  406.                                    "make an object save itself "
  407.                                    "asynchronously.  This method should be "
  408.                                    "called by all object classes whenever "
  409.                                    "state data is altered.  The workplace "
  410.                                    "classes invoke this method each time a "
  411.                                    "'wpSetXXX' method is used."
  412.    IDS_WPSAVEIMMEDIATE             "wpSaveImmediate"
  413.    IDS_WPSAVEIMMEDIATE_MSG         "This instance method is invoked to save "
  414.                                    "the current state of an object.  The "
  415.                                    "method causes the 'wpSaveState' method to "
  416.                                    "be called.  This method is called "
  417.                                    "automatically for all objects that were "
  418.                                    "flagged as needing to save their data by "
  419.                                    "'wpSaveDeferred'."
  420.    IDS_WPSAVELONG                  "wpSaveLong"
  421.    IDS_WPSAVELONG_MSG              "This instance method is invoked to save a "
  422.                                    "32-bit instance data value for an object.  "
  423.                                    "The saved 32-bit data value can be "
  424.                                    "restored by issuing a call to "
  425.                                    "'wpRestoreLong'."
  426.    IDS_WPSAVESTATE                 "wpSaveState"
  427.    IDS_WPSAVESTATE_MSG             "This instance method is invoked to save "
  428.                                    "the state of an object.  The saved state "
  429.                                    "of the object is restored during the "
  430.                                    "processing of the 'wpRestoreState' "
  431.                                    "method.  The method should be overridden "
  432.                                    "by all classes which provide savable "
  433.                                    "settings."
  434.    IDS_WPSAVESTRING                "wpSaveString"
  435.    IDS_WPSAVESTRING_MSG            "This instance method is invoked to save an "
  436.                                    "ASCIIZ instance string for an object.  The "
  437.                                    "saved ASCIIZ string can be restored by "
  438.                                    "issuing a call to 'wpRestoreString'."
  439.    IDS_WPSETDEFAULTVIEW            "wpSetDefaultView"
  440.    IDS_WPSETDEFAULTVIEW_MSG        "This instance method is invoked to change "
  441.                                    "an object's current default open view."
  442.    IDS_WPSETICON                   "wpSetIcon"
  443.    IDS_WPSETICON_MSG               "This instance method is invoked to set the "
  444.                                    "current icon for an object.  If the "
  445.                                    "OBJSTYLE_NOTDEFAULTICON style is currently "
  446.                                    "set for the object, the object's icon will "
  447.                                    "be destroyed if the object is destroyed or "
  448.                                    "made dormant."
  449.    IDS_WPSETICONDATA               "wpSetIconData"
  450.    IDS_WPSETICONDATA_MSG           "This instance method is invoked to "
  451.                                    "permanently set the current icon for an "
  452.                                    "object."
  453.    IDS_WPSETREALNAME               "wpSetRealName"
  454.    IDS_WPSETREALNAME_MSG           "This instance method is invoked to set the "
  455.                                    "physical file name of a file system "
  456.                                    "object.  In the case where the real name "
  457.                                    "and the title are different, the title is "
  458.                                    "stored in the file's .LONGNAME extended "
  459.                                    "attribute."
  460.    IDS_WPSETSTYLE                  "wpSetStyle"
  461.    IDS_WPSETSTYLE_MSG              "This instance method is invoked to set an "
  462.                                    "object's current style."
  463.    IDS_WPSETTITLE                  "wpSetTitle"
  464.    IDS_WPSETTITLE_MSG              "This instance method is invoked to set an "
  465.                                    "object's current title."
  466.    IDS_WPSETTYPE                   "wpSetType"
  467.    IDS_WPSETTYPE_MSG               "This instance method is invoked to change "
  468.                                    "an object's file type.  This method will "
  469.                                    "cause the file's .TYPE extended attribute "
  470.                                    "to be set."
  471.    IDS_WPSETUP                     "wpSetup"
  472.    IDS_WPSETUP_MSG                 "This instance method is invoked to "
  473.                                    "initialize a newly created object, and it "
  474.                                    "is generally called during 'wpclsNew', "
  475.                                    "'WinCreateObject', and "
  476.                                    "'WinSetObjectData' processing.  The method "
  477.                                    "is overridden by classes which introduce "
  478.                                    "their own KEYNAMES."
  479.    IDS_WPSWITCHTO                  "wpSwitchTo"
  480.    IDS_WPSWITCHTO_MSG              "This instance method is invoked to give "
  481.                                    "focus to a specified open view of an "
  482.                                    "object.  The focus is given to the "
  483.                                    "specified open view of the object if it "
  484.                                    "exists.  This is determined by scanning "
  485.                                    "the in-use list."
  486.    IDS_WPUNINITDATA                "wpUnInitData"
  487.    IDS_WPUNINITDATA_MSG            "This instance method is invoked when an "
  488.                                    "object is made dormant to free an object's "
  489.                                    "allocated resources and instance data "
  490.                                    "items.  This method is overridden to "
  491.                                    "deallocate resources allocated during the "
  492.                                    "processing of 'wpInitData'."
  493.    IDS_WPUNLOCKOBJECT              "wpUnlockObject"
  494.    IDS_WPUNLOCKOBJECT_MSG          "This instance method is invoked when an "
  495.                                    "object is put into the dormant state.  The "
  496.                                    "method will unlock an object so that it "
  497.                                    "will automatically go into the dormant "
  498.                                    "state when it no longer has open views and "
  499.                                    "the containter it is in is no longer open."
  500.  
  501.  
  502.    IDS_WPCLSCREATEDEFAULTTEMPLATES      "wpclsCreateDefaultTemplates"
  503.    IDS_WPCLSCREATEDEFATULTTEMPLATES_MSG "This class method is invoked to "
  504.                                         "create default template instances for "
  505.                                         "a class, and it is generally only "
  506.                                         "called when the class is registered.  "
  507.                                         "The method should be overridden by "
  508.                                         "classes which need to create default "
  509.                                         "template instances of their class."
  510.    IDS_WPCLSFINDOBJECTEND          "wpclsFindObjectEnd"
  511.    IDS_WPCLSFINDOBJECTEND_MSG      "This class method is invoked to end a find "
  512.                                    "operation started by a call to the "
  513.                                    "'wpclsFindObjectFirst' method.  This "
  514.                                    "method should be called to terminate a "
  515.                                    "find operation that was started by a "
  516.                                    "previous call to the "
  517.                                    "'wpclsFindObjectFirst' method."
  518.    IDS_WPCLSFINDOBJECTFIRST        "wpclsFindObjectFirst"
  519.    IDS_WPCLSFINDOBJECTFIRST_MSG    "This class method is invoked to find "
  520.                                    "workplace objects."
  521.    IDS_WPCLSFINDOBJECTNEXT         "wpclsFindObjectNext"
  522.    IDS_WPCLSFINDOBJECTNEXT_MSG     "This class method is invoked to find the "
  523.                                    "next set of matching objects."
  524.    IDS_WPCLSINITDATA               "wpclsInitData"
  525.    IDS_WPCLSINITDATA_MSG           "This class method is invoked immediately "
  526.                                    "after a class object is first awakened to "
  527.                                    "initialize the object's class data.  Any "
  528.                                    "class that has metaclass instance "
  529.                                    "variables should override this method to "
  530.                                    "initialize those variables."
  531.    IDS_WPCLSMAKEAWAKE              "wpclsMakeAwake"
  532.    IDS_WPCLSMAKEAWAKE_MSG          "This method is invoked to awaken an "
  533.                                    "object.  An object is awakened when it is "
  534.                                    "created in an open folder or when a folder "
  535.                                    "containing the object is opened.  The "
  536.                                    "method is generally called by base storage "
  537.                                    "classes to awaken an object from the "
  538.                                    "dormant state."
  539.    IDS_WPCLSNEW                    "wpclsNew"
  540.    IDS_WPCLSNEW_MSG                "This method is invoked to make a new "
  541.                                    "instance of an object class.  "
  542.    IDS_WPCLSQUERYDEFAULTVIEW       "wpclsQueryDefaultView"
  543.    IDS_WPCLSQUERYDEFAULTVIEW_MSG   "This method is invoked to obtain the "
  544.                                    "default open view for an instance of an "
  545.                                    "object class.  All classes should override "
  546.                                    "this method, so that new objects will "
  547.                                    "always have a sensible default view."
  548.    IDS_WPCLSQUERYDETAILS           "wpclsQueryDetails"
  549.    IDS_WPCLSQUERYDETAILS_MSG       "This method is invoked to obtain the "
  550.                                    "default details view items for an instance "
  551.                                    "of an object class.  "
  552.    IDS_WPCLSQUERYDETAILSINFO       "wpclsQueryDetailsInfo"
  553.    IDS_WPCLSQUERYDETAILSINFO_MSG   "This method is invoked to obtain the "
  554.                                    "details to be used for an instance of an "
  555.                                    "object class.  All objects which have "
  556.                                    "information to display in the details view "
  557.                                    "must override this method."
  558.    IDS_WPCLSQUERYFOLDER            "wpclsQueryFolder"
  559.    IDS_WPCLSQUERYFOLDER_MSG        "This method is invoked to determine the "
  560.                                    "object pointer for a folder that "
  561.                                    "corresponds to a given file system "
  562.                                    "location."
  563.    IDS_WPCLSQUERYICON              "wpclsQueryIcon"
  564.    IDS_WPCLSQUERYICON_MSG          "This method is invoked to obtain the "
  565.                                    "default icon to be used for an instance of "
  566.                                    "an object class.  This method is "
  567.                                    "overridden in order to change the default "
  568.                                    "icon for an instance of the class.  "
  569.    IDS_WPCLSQUERYICONDATA          "wpclsQueryIconData"
  570.    IDS_WPCLSQUERYICONDATA_MSG      "This method is invoked to obtain the "
  571.                                    "information needed to build the default "
  572.                                    "icon for an object class.  Workplace "
  573.                                    "classes that wish to have a unique class "
  574.                                    "default icon must override this method."
  575.    IDS_WPCLSQUERYINSTANCEFILTER     "wpclsQueryInstanceFilter"
  576.    IDS_WPCLSQUERYINSTANCEFILTER_MSG "This method is invoked to obtain the file "
  577.                                     "title filters for an instance of an "
  578.                                     "object class.  This method should be "
  579.                                     "overridden in order to automatically "
  580.                                     "designate file objects as instances of "
  581.                                     "this class."
  582.    IDS_WPCLSQUERYINSTANCETYPE      "wpclsQueryInstanceType"
  583.    IDS_WPCLSQUERYINSTANCETYPE_MSG  "This method is invoked to determine the "
  584.                                    "file types for an instance of an object "
  585.                                    "class.  This method should be overridden "
  586.                                    "in order to automatically designate file "
  587.                                    "objects as instances of this class."
  588.    IDS_WPCLSQUERYOBJECT            "wpclsQueryObject"
  589.    IDS_WPCLSQUERYOBJECT_MSG        "This method is invoked to obtain an object "
  590.                                    "pointer for a given persistent object "
  591.                                    "handle.  This method is intended for use "
  592.                                    "by objects that wish to communicate with "
  593.                                    "other objects using method calls."
  594.    IDS_WPCLSQUERYOPENFOLDERS       "wpclsQueryOpenFolders"
  595.    IDS_WPCLSQUERYOPENFOLDERS_MSG   "This method is invoked to determine all "
  596.                                    "open folders for an object class."
  597.    IDS_WPCLSQUERYSETTINGSPAGESIZE     "wpclsQuerySettingsPageSize"
  598.    IDS_WPCLSQUERYSETTINGSPAGESIZE_MSG "This method is invoked to obtain the "
  599.                                       "default size of a settings page for "
  600.                                       "instances of an object class.  Object "
  601.                                       "classes with unusual size requirements "
  602.                                       "for their settings pages must override "
  603.                                       "this class method to accommodate their "
  604.                                       "settings page sizes."
  605.    IDS_WPCLSQUERYSTYLE             "wpclsQueryStyle"
  606.    IDS_WPCLSQUERYSTYLE_MSG         "This method is invoked to determine the "
  607.                                    "default object class style for the "
  608.                                    "instances of the class.  This method "
  609.                                    "should be overridden in order to modify "
  610.                                    "the default object style for instances of "
  611.                                    "this class."
  612.    IDS_WPCLSQUERYTITLE             "wpclsQueryTitle"
  613.    IDS_WPCLSQUERYTITLE_MSG         "This method is invoked to determine the "
  614.                                    "default title for instances of an object "
  615.                                    "class.  All classes should override this "
  616.                                    "method, so that new objects and their "
  617.                                    "classes always have a sensible default "
  618.                                    "title."
  619.    IDS_WPCLSUNINITDATA             "wpclsUnInitData"
  620.    IDS_WPCLSUNINITDATA_MSG         "This method is invoked to determine the "
  621.                                    "default title for instances of an object "
  622.                                    "class.  All classes should override this "
  623.                                    "method, so that new objects and their "
  624.                                    "classes always have a sensible default "
  625.                                    "title."
  626. }
  627.