home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / samples / wps / wpstutor / methodid.h < prev    next >
Text File  |  1999-05-11  |  8KB  |  139 lines

  1. /******************************************************************************
  2. *
  3. *  File Name  : METHODID.H
  4. *
  5. *  Description: This include file contains all information shared between the
  6. *               WPSTutorial Object Class (WPSTUTOR.DLL) and the Show Method
  7. *               Description program (SHOWDESC.EXE).
  8. *
  9. *  Copyright (C) 1993 IBM Corporation
  10. *
  11. *      DISCLAIMER OF WARRANTIES.  The following [enclosed] code is
  12. *      sample code created by IBM Corporation. This sample code is not
  13. *      part of any standard or IBM product and is provided to you solely
  14. *      for  the purpose of assisting you in the development of your
  15. *      applications.  The code is provided "AS IS", without
  16. *      warranty of any kind.  IBM shall not be liable for any damages
  17. *      arising out of your use of the sample code, even if they have been
  18. *      advised of the possibility of such damages.                                                    *
  19. *
  20. ******************************************************************************/
  21.  
  22. /*-----------------------------------------------------------------------------
  23. *    DEFINES
  24. *----------------------------------------------------------------------------*/
  25. #define PIPE_NAME  "\\PIPE\\SHOWDESC\\NAME.QUE"
  26.                                          /* Name of pipe used to communicate */
  27.                                          /*    with WPSTUTOR.DLL             */
  28.  
  29. #define STACKSIZE         11228          /* Size of stack for thread         */
  30. #define START_WP_STRINGS      5          /* ID at which method name string-  */
  31.                                          /*   table strings begin            */
  32.  
  33.  
  34. /*-----------------------------------------------------------------------------
  35. *    STRINGTABLE IDS
  36. *
  37. *    These IDs represent the names of the methods for which descriptions are
  38. *    displayed by the SHOWDESC.EXE program.  These IDs are passed from the
  39. *    WPSTutorial class to the SHOWDESC.EXE program to indicate which method
  40. *    description is to be displayed.
  41. *----------------------------------------------------------------------------*/
  42.         /*---------------------------------------------------------------------
  43.         *    IDS FOR INSTANCE METHOD NAMES
  44.         *--------------------------------------------------------------------*/
  45. #define IDS_WPADDFILEMENUPAGE            START_WP_STRINGS
  46. #define IDS_WPADDFILETYPEPAGE            START_WP_STRINGS+2
  47. #define IDS_WPADDFILE1PAGE               START_WP_STRINGS+4
  48. #define IDS_WPADDFILE2PAGE               START_WP_STRINGS+6
  49. #define IDS_WPADDFILE3PAGE               START_WP_STRINGS+8
  50. #define IDS_WPADDOBJECTGENERALPAGE       START_WP_STRINGS+10
  51. #define IDS_WPADDSETTINGSPAGES           START_WP_STRINGS+12
  52. #define IDS_WPADDTOOBJUSELIST            START_WP_STRINGS+14
  53. #define IDS_WPALLOCMEM                   START_WP_STRINGS+16
  54. #define IDS_WPCLOSE                      START_WP_STRINGS+18
  55. #define IDS_WPCOPIEDFROMTEMPLATE         START_WP_STRINGS+20
  56. #define IDS_WPCOPYOBJECT                 START_WP_STRINGS+22
  57. #define IDS_WPCREATEFROMTEMPLATE         START_WP_STRINGS+24
  58. #define IDS_WPCREATESHADOWOBJECT         START_WP_STRINGS+26
  59. #define IDS_WPDELETE                     START_WP_STRINGS+28
  60. #define IDS_WPDELETEFROMOBJUSELIST       START_WP_STRINGS+30
  61. #define IDS_WPDOESOBJECTMATCH            START_WP_STRINGS+32
  62. #define IDS_WPDRAGGEDOVEROBJECT          START_WP_STRINGS+34
  63. #define IDS_WPDRAGOVER                   START_WP_STRINGS+36
  64. #define IDS_WPDROP                       START_WP_STRINGS+38
  65. #define IDS_WPDROPPEDONOBJECT            START_WP_STRINGS+40
  66. #define IDS_WPENDCONVERSATION            START_WP_STRINGS+42
  67. #define IDS_WPFILTERPOPUPMENU            START_WP_STRINGS+44
  68. #define IDS_WPFINDUSEITEM                START_WP_STRINGS+46
  69. #define IDS_WPFORMATDRAGITEM             START_WP_STRINGS+48
  70. #define IDS_WPFREE                       START_WP_STRINGS+50
  71. #define IDS_WPFREEMEM                    START_WP_STRINGS+52
  72. #define IDS_WPHIDE                       START_WP_STRINGS+54
  73. #define IDS_WPINITDATA                   START_WP_STRINGS+56
  74. #define IDS_WPINSERTPOPUPMENUITEMS       START_WP_STRINGS+58
  75. #define IDS_WPINSERTSETTINGSPAGE         START_WP_STRINGS+60
  76. #define IDS_WPMENUITEMSELECTED           START_WP_STRINGS+62
  77. #define IDS_WPMODIFYPOPUPMENU            START_WP_STRINGS+64
  78. #define IDS_WPOPEN                       START_WP_STRINGS+66
  79. #define IDS_WPQUERYCONFIRMATIONS         START_WP_STRINGS+68
  80. #define IDS_WPQUERYDEFAULTVIEW           START_WP_STRINGS+70
  81. #define IDS_WPQUERYDETAILSDATA           START_WP_STRINGS+72
  82. #define IDS_WPQUERYHANDLE                START_WP_STRINGS+74
  83. #define IDS_WPQUERYICON                  START_WP_STRINGS+76
  84. #define IDS_WPQUERYICONDATA              START_WP_STRINGS+78
  85. #define IDS_WPQUERYREALNAME              START_WP_STRINGS+80
  86. #define IDS_WPQUERYSTYLE                 START_WP_STRINGS+82
  87. #define IDS_WPQUERYTITLE                 START_WP_STRINGS+84
  88. #define IDS_WPQUERYTYPE                  START_WP_STRINGS+86
  89. #define IDS_WPREGISTERVIEW               START_WP_STRINGS+88
  90. #define IDS_WPRENDER                     START_WP_STRINGS+90
  91. #define IDS_WPRENDERCOMPLETE             START_WP_STRINGS+92
  92. #define IDS_WPRESTORE                    START_WP_STRINGS+94
  93. #define IDS_WPRESTOREDATA                START_WP_STRINGS+96
  94. #define IDS_WPRESTORELONG                START_WP_STRINGS+98
  95. #define IDS_WPRESTORESTATE               START_WP_STRINGS+100
  96. #define IDS_WPRESTORESTRING              START_WP_STRINGS+102
  97. #define IDS_WPSAVEDATA                   START_WP_STRINGS+104
  98. #define IDS_WPSAVEDEFERRED               START_WP_STRINGS+106
  99. #define IDS_WPSAVEIMMEDIATE              START_WP_STRINGS+108
  100. #define IDS_WPSAVELONG                   START_WP_STRINGS+110
  101. #define IDS_WPSAVESTATE                  START_WP_STRINGS+112
  102. #define IDS_WPSAVESTRING                 START_WP_STRINGS+114
  103. #define IDS_WPSETDEFAULTVIEW             START_WP_STRINGS+116
  104. #define IDS_WPSETICON                    START_WP_STRINGS+118
  105. #define IDS_WPSETICONDATA                START_WP_STRINGS+120
  106. #define IDS_WPSETREALNAME                START_WP_STRINGS+122
  107. #define IDS_WPSETSTYLE                   START_WP_STRINGS+124
  108. #define IDS_WPSETTITLE                   START_WP_STRINGS+126
  109. #define IDS_WPSETTYPE                    START_WP_STRINGS+128
  110. #define IDS_WPSETUP                      START_WP_STRINGS+130
  111. #define IDS_WPSWITCHTO                   START_WP_STRINGS+132
  112. #define IDS_WPUNINITDATA                 START_WP_STRINGS+134
  113. #define IDS_WPUNLOCKOBJECT               START_WP_STRINGS+136
  114.  
  115.         /*---------------------------------------------------------------------
  116.         *    IDS FOR CLASS METHOD NAMES
  117.         *--------------------------------------------------------------------*/
  118. #define IDS_WPCLSCREATEDEFAULTTEMPLATES  START_WP_STRINGS+138
  119. #define IDS_WPCLSFINDOBJECTEND           START_WP_STRINGS+140
  120. #define IDS_WPCLSFINDOBJECTFIRST         START_WP_STRINGS+142
  121. #define IDS_WPCLSFINDOBJECTNEXT          START_WP_STRINGS+144
  122. #define IDS_WPCLSINITDATA                START_WP_STRINGS+146
  123. #define IDS_WPCLSMAKEAWAKE               START_WP_STRINGS+148
  124. #define IDS_WPCLSNEW                     START_WP_STRINGS+150
  125. #define IDS_WPCLSQUERYDEFAULTVIEW        START_WP_STRINGS+152
  126. #define IDS_WPCLSQUERYDETAILS            START_WP_STRINGS+154
  127. #define IDS_WPCLSQUERYDETAILSINFO        START_WP_STRINGS+156
  128. #define IDS_WPCLSQUERYFOLDER             START_WP_STRINGS+158
  129. #define IDS_WPCLSQUERYICON               START_WP_STRINGS+160
  130. #define IDS_WPCLSQUERYICONDATA           START_WP_STRINGS+162
  131. #define IDS_WPCLSQUERYINSTANCEFILTER     START_WP_STRINGS+164
  132. #define IDS_WPCLSQUERYINSTANCETYPE       START_WP_STRINGS+166
  133. #define IDS_WPCLSQUERYOBJECT             START_WP_STRINGS+168
  134. #define IDS_WPCLSQUERYOPENFOLDERS        START_WP_STRINGS+170
  135. #define IDS_WPCLSQUERYSETTINGSPAGESIZE   START_WP_STRINGS+172
  136. #define IDS_WPCLSQUERYSTYLE              START_WP_STRINGS+174
  137. #define IDS_WPCLSQUERYTITLE              START_WP_STRINGS+176
  138. #define IDS_WPCLSUNINITDATA              START_WP_STRINGS+178
  139.