home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional Developers Kit 1992 November / Disc01 / Disc01.mdf / cppbeta / clsam2j / tmenu.h__ / TMENU.H
Encoding:
C/C++ Source or Header  |  1992-10-09  |  8.0 KB  |  208 lines

  1.  
  2. /***********************************************************************/
  3. /*                       Constructor's IDs                             */
  4. /***********************************************************************/
  5. #define  ID_TEST                 10
  6. #define  ID_STTXT1               11
  7. #define  ID_ENTRYFIELD           12
  8.  
  9. #define  ID_ICON_DOC             20
  10. #define  ID_ICON_HR              21
  11. #define  ID_ICON_INBASKET        22
  12. #define  ID_ICON_FOLDER          23
  13.  
  14. #define  ID_BC_TBDOC             25
  15. #define  ID_BC_PAYNOTE           26
  16. #define  ID_BC_TEMPLATE          27
  17. #define  ID_BC_TINBAS            28
  18. #define  ID_BC_TCSBFORM          29
  19. /***********************************************************************/
  20. /*                       Icon and Bitmaps IDs                          */
  21. /***********************************************************************/
  22. #define  ID_ICON1                30
  23. #define  ID_ICON2                31
  24. #define  ID_ICON3                32
  25. #define  ID_ICON4                33
  26.  
  27. #define  ID_BITMAP1              35
  28. #define  ID_BITMAP2              36
  29. #define  ID_BITMAP3              37
  30. #define  ID_BITMAP4              38
  31. #define  ID_BITMAP5              39
  32.  
  33.  
  34. /***********************************************************************/
  35. /*                        String Table IDs                             */
  36. /***********************************************************************/
  37. #define  PSZ_TITLE_OBJ1          40
  38. #define  PSZ_TITLE_OBJ2          41
  39. #define  PSZ_TITLE_VIEW1         42
  40. #define  PSZ_TITLE_VIEW2         43
  41. #define  PSZ_MENU_TEXT1          46
  42. #define  PSZ_MENU_TEXT2          47
  43. #define  PSZ_MENU_TEXT3          48
  44. #define  PSZ_MENU_TEXT4          49
  45.  
  46. /***********************************************************************/
  47. /*                        Accelerator Table IDs                        */
  48. /***********************************************************************/
  49. #define  ID_ALT_SYS_ACCEL1       50
  50. #define  ID_ALT_SYS_ACCEL2       51
  51. #define  ID_RESTORE              52
  52. #define  ID_MOVE                 53
  53. #define  ID_SIZE                 54
  54. #define  ID_MINIMIZE             55
  55. #define  ID_MAXIMIZE             56
  56. #define  ID_CLOSE                57
  57.  
  58. #define  ID_MENU_WITH_ACCEL      60
  59. #define  ID_MENU_WITH_ACCEL_CTL  61
  60. #define  ID_MENU_WITH_ACCEL_CTL_ALT 62
  61.  
  62. /***********************************************************************/
  63. /*                        PopUp Menu IDs                               */
  64. /***********************************************************************/
  65. #define  ID_POPUP                70
  66. #define  ID_POPUP_TEXT           71
  67.  
  68. #define  ID_EF_POPUP             75
  69. #define  ID_LEFT_JUST            77
  70. #define  ID_CENTER               78
  71. #define  ID_RIGHT_JUST           79
  72. /***********************************************************************/
  73. /*                         Action Bar Menu IDs                         */
  74. /***********************************************************************/
  75. #define  ID_MENU                    100
  76.  
  77. #define  ID_WINDOW_ICON             200
  78. #define  ID_WIN_ICON_HR             210
  79. #define  ID_WIN_ICON_IN             220
  80. #define  ID_WIN_ICON_DOCMT          230
  81. #define  ID_WIN_ICON_FOLDER         240
  82.  
  83. #define  ID_TITLE                   300
  84. #define  ID_TITLE_OBJ               310
  85. #define  ID_TITLE_VIEW              320
  86. #define  ID_TITLE_VIEW_NUM          330
  87. #define  ID_TITLE_TEXT              335
  88. #define  ID_TITLE_SET_OBJ2          340
  89. #define  ID_TITLE_SET_OBJ1          345
  90. #define  ID_TITLE_SET_VIEW2         350
  91. #define  ID_TITLE_SET_VIEW1         355
  92. #define  ID_TITLE_SET_VIEW_NUM2     360
  93. #define  ID_TITLE_SET_VIEW_NUM1     365
  94. #define  ID_TITLE_SET_TITLE2        370
  95. #define  ID_TITLE_SET_TITLE1        375
  96. #define  ID_TITLE_CONSTRUCT         376
  97.  
  98. #define  ID_ACCELERATOR             400
  99. #define  ID_ACCEL_SET_SYS1          410
  100. #define  ID_ACCEL_SET_SYS2          415
  101. #define  ID_ACCEL_SET_SYS3          416
  102. #define  ID_ACCEL_UNSET_SYS         420
  103. #define  ID_ACCEL_SET1              431
  104. #define  ID_ACCEL_SET2              432
  105. #define  ID_ACCEL_SET3              433
  106. #define  ID_ACCEL_UNSET             440
  107. #define  ID_ACCEL_REMOVE            450
  108. #define  ID_ACCEL_IS_SET            460
  109.  
  110. #define  ID_ACTION_MENU             500
  111. #define  ID_ACTION_ADD_ITEM_STRING1 520
  112. #define  ID_ACTION_ADD_ITEM_STRING2 521
  113. #define  ID_ACTION_ADD_ITEM_STRING3 522
  114. #define  ID_ACTION_ADD_ITEM_STRING4 523
  115. #define  ID_ACTION_ADD_ITEM_STRING5 524
  116. #define  ID_ACTION_ADD_ITEM_BITMAP  525
  117. #define  ID_ACTION_ADD_SEP          529
  118. #define  ID_ACTION_DELETE           535
  119. #define  ID_ACTION_IS_CHECKED       550
  120. #define  ID_ACTION_CHECK            555
  121. #define  ID_ACTION_UNCHECK          559
  122. #define  ID_ACTION_IS_DISABLED      560
  123. #define  ID_ACTION_ENABLE           565
  124. #define  ID_ACTION_DISABLE          569
  125.  
  126. #define  ID_POPUP_PULLDOWN          600
  127. #define  ID_POPUP_SHOW2             611
  128. #define  ID_POPUP_ID                614
  129. #define  ID_POPUP_ADD_ITEM_STRING   620
  130. #define  ID_POPUP_ADD_ITEM_BITMAP   625
  131. #define  ID_POPUP_ADD_SEP           629
  132. #define  ID_POPUP_DELETE            635
  133. #define  ID_POPUP_IS_CHECKED        650
  134. #define  ID_POPUP_CHECK             655
  135. #define  ID_POPUP_UNCHECK           659
  136. #define  ID_POPUP_IS_DISABLED       660
  137. #define  ID_POPUP_ENABLE            665
  138. #define  ID_POPUP_DISABLE           669
  139.  
  140. #define  ID_SYSTEM_MENU             700
  141. #define  ID_SYSTEM_ADD_ITEM_STRING  720
  142. #define  ID_SYSTEM_ADD_ITEM_BITMAP  725
  143. #define  ID_SYSTEM_ADD_SEP          729
  144. #define  ID_SYSTEM_DELETE           735
  145. #define  ID_SYSTEM_IS_CHECKED       750
  146. #define  ID_SYSTEM_CHECK            755
  147. #define  ID_SYSTEM_UNCHECK          759
  148. #define  ID_SYSTEM_IS_DISABLED      760
  149. #define  ID_SYSTEM_ENABLE           765
  150. #define  ID_SYSTEM_DISABLE          769
  151.  
  152. #define  ID_SWITCH                  800
  153. #define  ID_ACTION_ALT              810
  154.  
  155. /***********************************************************************/
  156. /*                        Alternate Action Bar Menu IDs                */
  157. /***********************************************************************/
  158. #define  ID_MENU2                      1000
  159.  
  160. #define  ID_ALT_STRING                 1100
  161. #define  ID_ALT_STRING_PULL_ADD        1110
  162. #define  ID_ALT_STRING_PULL_REMOVE     1111
  163. #define  ID_ALT_STRING_PULL_TEXT       1120
  164. #define  ID_ALT_STRING_PULL_SET_TEXT1  1125
  165. #define  ID_ALT_STRING_PULL_SET_TEXT2  1126
  166. #define  ID_ALT_STRING_PULL_FRAME      1130
  167. #define  ID_ALT_STRING_PULL_UNFRAME    1131
  168. #define  ID_ALT_STRING_PULL_STYLE1     1140
  169. #define  ID_ALT_STRING_PULL_STYLE2     1141
  170. #define  ID_ALT_STRING_AB_ADD          1150
  171. #define  ID_ALT_STRING_AB_REMOVE       1151
  172. #define  ID_ALT_STRING_AB_TEXT         1180
  173. #define  ID_ALT_STRING_AB_SET_TEXT1    1185
  174. #define  ID_ALT_STRING_AB_SET_TEXT2    1186
  175.  
  176. #define  ID_ALT_BITMAP                 1200
  177. #define  ID_ALT_BITMAP_ADD_PULLDOWN    1210
  178. #define  ID_ALT_BITMAP_REMOVE_PULLDOWN 1211
  179. #define  ID_ALT_BITMAP_PULL_SETBITMAP1 1230
  180. #define  ID_ALT_BITMAP_PULL_SETBITMAP2 1231
  181. #define  ID_ALT_BITMAP_SET_ATTRIB1     1240
  182. #define  ID_ALT_BITMAP_SET_ATTRIB2     1241
  183. #define  ID_ALT_BITMAP_SET_STYLE1      1250
  184. #define  ID_ALT_BITMAP_SET_STYLE2      1251
  185. #define  ID_ALT_BITMAP_ADD_ACTION      1280
  186. #define  ID_ALT_BITMAP_REMOVE_ACTION   1281
  187.  
  188. #define  ID_ALT_SWITCH                 1300
  189. #define  ID_ALT_ACTION_SET_DEF         1310
  190.  
  191.  
  192. /***********************************************************************/
  193. /*                        MENUITEMs ID                                 */
  194. /***********************************************************************/
  195. #define  ID_MENU_TEXT1              2000
  196. #define  ID_MENU_TEXT2              2010
  197. #define  ID_MENU_TEXT3              2020
  198. #define  ID_MENU_TEXT4              2030
  199.  
  200.  
  201. #define  ID_MENU_BITMAP1            3000
  202. #define  ID_MENU_BITMAP2            3010
  203. #define  ID_MENU_BITMAP3            3020
  204. #define  ID_MENU_BITMAP4            3030
  205. #define  ID_MENU_BITMAP5            3040
  206.  
  207. #define  ID_SEPARATOR               4000
  208.