home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / sdktools / winnt / dlgedit / ids.h < prev    next >
Text File  |  1997-10-05  |  20KB  |  495 lines

  1.  
  2. /******************************************************************************\
  3. *       This is a part of the Microsoft Source Code Samples. 
  4. *       Copyright (C) 1993-1997 Microsoft Corporation.
  5. *       All rights reserved. 
  6. *       This source code is only intended as a supplement to 
  7. *       Microsoft Development Tools and/or WinHelp documentation.
  8. *       See these sources for detailed information regarding the 
  9. *       Microsoft samples programs.
  10. \******************************************************************************/
  11.  
  12. /****************************** Module Header *******************************
  13. * Module Name: ids.h
  14. *
  15. * Contains id values for the dialog editor.
  16. *
  17. ****************************************************************************/
  18.  
  19.  
  20. /*
  21.  * String id's. ------------------------------------------------------------
  22.  */
  23.  
  24. /*
  25.  * The zero'th string id is a "null" case.  It maps to an empty string.
  26.  */
  27. #define IDS_NULL                            0
  28.  
  29. #define IDS_APPVERSION                      1
  30. #define IDS_APPVERSIONMINOR                 2
  31.  
  32. /*
  33.  * The following are actually starting string ids into the styles strings
  34.  * for the appropriate class type.  If styles are added to the acs*
  35.  * structures (all referenced by the acsd array), then these indexes will
  36.  * all have to be adjusted, as well as the other string id's which follow
  37.  * the IDS_IC_* ones.
  38.  */
  39. #define IDS_IC_BUTTON                       3
  40. #define IDS_IC_SCROLLBAR                    16
  41. #define IDS_IC_EDIT                         25
  42. #define IDS_IC_STATIC                       37
  43. #define IDS_IC_LISTBOX                      51
  44. #define IDS_IC_COMBOBOX                     65
  45. #define IDS_IC_DIALOG                       76
  46. #define IDS_IC_WINDOW                       84
  47. #define IDS_IC_EXSTYLE                      101
  48.  
  49. /*
  50.  * Language and SubLanguage keywords.
  51.  */
  52. #define IDS_LANG_NEUTRAL                    107
  53. #define IDS_LANG_ALBANIAN                   108
  54. #define IDS_LANG_ARABIC                     109
  55. #define IDS_LANG_BAHASA                     110
  56. #define IDS_LANG_BULGARIAN                  111
  57. #define IDS_LANG_CATALAN                    112
  58. #define IDS_LANG_CHINESE                    113
  59. #define IDS_LANG_CZECH                      114
  60. #define IDS_LANG_DANISH                     115
  61. #define IDS_LANG_DUTCH                      116
  62. #define IDS_LANG_ENGLISH                    117
  63. #define IDS_LANG_FINNISH                    118
  64. #define IDS_LANG_FRENCH                     119
  65. #define IDS_LANG_GERMAN                     120
  66. #define IDS_LANG_GREEK                      121
  67. #define IDS_LANG_HEBREW                     122
  68. #define IDS_LANG_HUNGARIAN                  123
  69. #define IDS_LANG_ICELANDIC                  124
  70. #define IDS_LANG_ITALIAN                    125
  71. #define IDS_LANG_JAPANESE                   126
  72. #define IDS_LANG_KOREAN                     127
  73. #define IDS_LANG_NORWEGIAN                  128
  74. #define IDS_LANG_POLISH                     129
  75. #define IDS_LANG_PORTUGUESE                 130
  76. #define IDS_LANG_RHAETO_ROMAN               131
  77. #define IDS_LANG_ROMANIAN                   132
  78. #define IDS_LANG_RUSSIAN                    133
  79. #define IDS_LANG_SERBO_CROATIAN             134
  80. #define IDS_LANG_SLOVAK                     135
  81. #define IDS_LANG_SPANISH                    136
  82. #define IDS_LANG_SWEDISH                    137
  83. #define IDS_LANG_THAI                       138
  84. #define IDS_LANG_TURKISH                    139
  85. #define IDS_LANG_URDU                       140
  86.  
  87. #define IDS_SUBLANG_DEFAULT                 141
  88. #define IDS_SUBLANG_NEUTRAL                 142
  89. #define IDS_SUBLANG_CHINESE_SIMPLIFIED      143
  90. #define IDS_SUBLANG_CHINESE_TRADITIONAL     144
  91. #define IDS_SUBLANG_DUTCH                   145
  92. #define IDS_SUBLANG_DUTCH_BELGIAN           146
  93. #define IDS_SUBLANG_ENGLISH_US              147
  94. #define IDS_SUBLANG_ENGLISH_UK              148
  95. #define IDS_SUBLANG_ENGLISH_AUS             149
  96. #define IDS_SUBLANG_ENGLISH_CAN             150
  97. #define IDS_SUBLANG_FRENCH                  151
  98. #define IDS_SUBLANG_FRENCH_BELGIAN          152
  99. #define IDS_SUBLANG_FRENCH_CANADIAN         153
  100. #define IDS_SUBLANG_FRENCH_SWISS            154
  101. #define IDS_SUBLANG_GERMAN                  155
  102. #define IDS_SUBLANG_GERMAN_SWISS            156
  103. #define IDS_SUBLANG_ITALIAN                 157
  104. #define IDS_SUBLANG_ITALIAN_SWISS           158
  105. #define IDS_SUBLANG_NORWEGIAN_BOKMAL        159
  106. #define IDS_SUBLANG_NORWEGIAN_NYNORSK       160
  107. #define IDS_SUBLANG_PORTUGUESE              161
  108. #define IDS_SUBLANG_PORTUGUESE_BRAZILIAN    162
  109. #define IDS_SUBLANG_SERBO_CROATIAN_CYRILLIC 163
  110. #define IDS_SUBLANG_SERBO_CROATIAN_LATIN    164
  111. #define IDS_SUBLANG_SPANISH                 165
  112. #define IDS_SUBLANG_SPANISH_MEXICAN         166
  113. #define IDS_SUBLANG_SPANISH_MODERN          167
  114.  
  115. /*
  116.  * Miscellaneous tokens written to the .DLG file.
  117.  */
  118. #define IDS_IDOK                            168
  119. #define IDS_IDCANCEL                        169
  120. #define IDS_FIXED                           170
  121. #define IDS_IMPURE                          171
  122. #define IDS_PRELOAD                         172
  123. #define IDS_DISCARDABLE                     173
  124. #define IDS_BEGIN                           174
  125. #define IDS_END                             175
  126. #define IDS_DIALOG                          176
  127. #define IDS_CONTROL                         177
  128. #define IDS_NOT                             178
  129. #define IDS_STYLE                           179
  130. #define IDS_CAPTION                         180
  131. #define IDS_FONT                            181
  132. #define IDS_DLGINCLUDE                      182
  133. #define IDS_CLASS                           183
  134. #define IDS_MENU                            184
  135. #define IDS_EXSTYLE                         185
  136. #define IDS_CHARACTERISTICS                 186
  137. #define IDS_VERSION                         187
  138. #define IDS_LANGUAGE                        188
  139. #define IDS_KEYRADIOBUTTON                  189
  140. #define IDS_KEYCHECKBOX                     190
  141. #define IDS_KEYDEFPUSHBUTTON                191
  142. #define IDS_KEYPUSHBUTTON                   192
  143. #define IDS_KEYEDITTEXT                     193
  144. #define IDS_KEYICON                         194
  145. #define IDS_KEYGROUPBOX                     195
  146. #define IDS_KEYRTEXT                        196
  147. #define IDS_KEYCTEXT                        197
  148. #define IDS_KEYLTEXT                        198
  149. #define IDS_KEYLISTBOX                      199
  150. #define IDS_KEYCOMBOBOX                     200
  151. #define IDS_KEYSCROLLBAR                    201
  152. #define IDS_KEYAUTO3STATE                   202
  153. #define IDS_KEYAUTOCHECKBOX                 203
  154. #define IDS_KEYAUTORADIOBUTTON              204
  155. #define IDS_KEYSTATE3                       205
  156. #define IDS_KEYUSERBUTTON                   206
  157.  
  158. /*
  159.  * Message string id's.
  160.  */
  161. #define IDS_DELETEDIALOG                    207
  162. #define IDS_OUTOFMEMORY                     208
  163. #define IDS_CANTCREATE                      209
  164. #define IDS_SYMNOCHANGE                     210
  165. #define IDS_IDSYMMISMATCH                   211
  166. #define IDS_CLOSING                         212
  167. #define IDS_BADRESFILE                      213
  168. #define IDS_INCLCLOSING                     214
  169. #define IDS_SYMEXISTS                       215
  170. #define IDS_BADSYMBOLID                     216
  171. #define IDS_LABELDUPID                      217
  172. #define IDS_SELECTFIRST                     218
  173. #define IDS_CTRLDUPID                       219
  174. #define IDS_BADCUSTDLL                      220
  175. #define IDS_NOCLIP                          221
  176. #define IDS_INTERNAL                        222
  177. #define IDS_NOMOUSE                         223
  178. #define IDS_NOINIT                          224
  179. #define IDS_GTZERO                          225
  180. #define IDS_ICONNAMEHASBLANKS               226
  181. #define IDS_IDUPIDS                         227
  182. #define IDS_CREATECTRLERROR                 228
  183. #define IDS_CANTOPENRES                     229
  184. #define IDS_CONFIRMDISCARD                  230
  185. #define IDS_SYMNOTFOUND                     231
  186. #define IDS_NOCLASS                         232
  187. #define IDS_POSITIVENUM                     233
  188. #define IDS_MEMERROR                        234
  189. #define IDS_DLGNAMEHASBLANKS                235
  190. /*#define IDS_                                236 */
  191. #define IDS_NODLGNAME                       237
  192. #define IDS_CANTINITDLL                     238
  193. #define IDS_NOICONNAME                      239
  194. #define IDS_RESTOREDIALOG                   240
  195. #define IDS_ZEROPOINTSIZE                   241
  196. #define IDS_MINGTMAXSPACE                   242
  197. #define IDS_CUSTCNTLINUSE                   243
  198. #define IDS_CUSTALREADYLOADED               244
  199. #define IDS_CANTLOADDLL                     245
  200. #define IDS_DLLBADEXPORTS                   246
  201. #define IDS_DLLBADCOUNT                     247
  202.  
  203. /*
  204.  * Language and SubLanguage description strings.
  205.  */
  206. #define IDS_L_NEUTRAL                       248
  207. #define IDS_L_ALBANIAN                      249
  208. #define IDS_L_ARABIC                        250
  209. #define IDS_L_BAHASA                        251
  210. #define IDS_L_BULGARIAN                     252
  211. #define IDS_L_CATALAN                       253
  212. #define IDS_L_CHINESE                       254
  213. #define IDS_L_CZECH                         255
  214. #define IDS_L_DANISH                        256
  215. #define IDS_L_DUTCH                         257
  216. #define IDS_L_ENGLISH                       258
  217. #define IDS_L_FINNISH                       259
  218. #define IDS_L_FRENCH                        260
  219. #define IDS_L_GERMAN                        261
  220. #define IDS_L_GREEK                         262
  221. #define IDS_L_HEBREW                        263
  222. #define IDS_L_HUNGARIAN                     264
  223. #define IDS_L_ICELANDIC                     265
  224. #define IDS_L_ITALIAN                       266
  225. #define IDS_L_JAPANESE                      267
  226. #define IDS_L_KOREAN                        268
  227. #define IDS_L_NORWEGIAN                     269
  228. #define IDS_L_POLISH                        270
  229. #define IDS_L_PORTUGUESE                    271
  230. #define IDS_L_RHAETO_ROMAN                  272
  231. #define IDS_L_ROMANIAN                      273
  232. #define IDS_L_RUSSIAN                       274
  233. #define IDS_L_SERBO_CROATIAN                275
  234. #define IDS_L_SLOVAK                        276
  235. #define IDS_L_SPANISH                       277
  236. #define IDS_L_SWEDISH                       278
  237. #define IDS_L_THAI                          279
  238. #define IDS_L_TURKISH                       280
  239. #define IDS_L_URDU                          281
  240.  
  241. #define IDS_SL_DEFAULT                      282
  242. #define IDS_SL_NEUTRAL                      283
  243. #define IDS_SL_CHINESE_SIMPLIFIED           284
  244. #define IDS_SL_CHINESE_TRADITIONAL          285
  245. #define IDS_SL_DUTCH                        286
  246. #define IDS_SL_DUTCH_BELGIAN                287
  247. #define IDS_SL_ENGLISH_US                   288
  248. #define IDS_SL_ENGLISH_UK                   289
  249. #define IDS_SL_ENGLISH_AUS                  290
  250. #define IDS_SL_ENGLISH_CAN                  291
  251. #define IDS_SL_FRENCH                       292
  252. #define IDS_SL_FRENCH_BELGIAN               293
  253. #define IDS_SL_FRENCH_CANADIAN              294
  254. #define IDS_SL_FRENCH_SWISS                 295
  255. #define IDS_SL_GERMAN                       296
  256. #define IDS_SL_GERMAN_SWISS                 297
  257. #define IDS_SL_ITALIAN                      298
  258. #define IDS_SL_ITALIAN_SWISS                299
  259. #define IDS_SL_NORWEGIAN_BOKMAL             300
  260. #define IDS_SL_NORWEGIAN_NYNORSK            301
  261. #define IDS_SL_PORTUGUESE                   302
  262. #define IDS_SL_PORTUGUESE_BRAZILIAN         303
  263. #define IDS_SL_SERBO_CROATIAN_CYRILLIC      304
  264. #define IDS_SL_SERBO_CROATIAN_LATIN         305
  265. #define IDS_SL_SPANISH                      306
  266. #define IDS_SL_SPANISH_MEXICAN              307
  267. #define IDS_SL_SPANISH_MODERN               308
  268.  
  269. /*
  270.  * Miscellaneous string id's.
  271.  */
  272. #define IDS_GRID                            309
  273. #define IDS_MARGIN                          310
  274. #define IDS_CTRLSPACING                     311
  275. #define IDS_PUSHSPACING                     312
  276. #define IDS_DEFLBTEXT                       313
  277. #define IDS_APPNAME                         314
  278. #define IDS_DLGEDIT                         315
  279. #define IDS_POUNDDEFINE                     316
  280. #define IDS_UNTITLED                        317
  281. #define IDS_UNUSED                          318
  282. #define IDS_HELPFILE                        319
  283. #define IDS_DEFSAVENAME                     320
  284. #define IDS_TEMPEXT                         321
  285. #define IDS_CYFMTSTR                        322
  286. #define IDS_CXFMTSTR                        323
  287. #define IDS_DEFRESFILESPECNAME              324
  288. #define IDS_DEFRESFILESPEC                  325
  289. #define IDS_DEFINCFILESPECNAME              326
  290. #define IDS_DEFINCFILESPEC                  327
  291. #define IDS_DEFDLLFILESPECNAME              328
  292. #define IDS_DEFDLLFILESPEC                  329
  293. #define IDS_RESOPENTITLE                    330
  294. #define IDS_RESSAVETITLE                    331
  295. #define IDS_INCOPENTITLE                    332
  296. #define IDS_INCSAVETITLE                    333
  297. #define IDS_DLLOPENTITLE                    334
  298. #define IDS_DEFINE                          335
  299. #define IDS_DEFTXTCHECKBOX                  336
  300. #define IDS_DEFTXTGROUP                     337
  301. #define IDS_DEFTXTPUSHBUTTON                338
  302. #define IDS_DEFTXTRADIOBUTTON               339
  303. #define IDS_DEFTXTTEXT                      340
  304. #define IDS_DEFTXTDIALOG                    341
  305. #define IDS_WCBUTTON                        342
  306. #define IDS_WCSCROLLBAR                     343
  307. #define IDS_WCEDIT                          344
  308. #define IDS_WCSTATIC                        345
  309. #define IDS_WCLISTBOX                       346
  310. #define IDS_WCCOMBOBOX                      347
  311. #define IDS_WCCUSTOM                        348
  312. #define IDS_WCDIALOG                        349
  313. #define IDS_DEFFONTNAME                     350
  314. #define IDS_INCEXT                          351
  315. #define IDS_RESEXT                          352
  316. #define IDS_DLLEXT                          353
  317. #define IDS_DOTH                            354
  318. #define IDS_DOTRES                          355
  319. #define IDS_DOTDLG                          356
  320. #define IDS_DLGEDITINI                      357
  321. #define IDS_SYMBOLLABEL                     358
  322. #define IDS_TEXTLABEL                       359
  323. #define IDS_CAPTIONLABEL                    360
  324. #define IDS_DLGNAMELABEL                    361
  325. #define IDS_DLGIDLABEL                      362
  326. #define IDS_ICONNAMELABEL                   363
  327. #define IDS_ICONIDLABEL                     364
  328. #define IDS_WIDTH                           365
  329. #define IDS_HEIGHT                          366
  330.  
  331. #define CSTRINGS                367     /* Count of strings in string table.*/
  332.  
  333.  
  334. /*
  335.  * Menu id's. --------------------------------------------------------------
  336.  */
  337.  
  338. /*
  339.  * File menu.
  340.  */
  341. #define MENU_NEWRES             7000
  342. #define MENU_OPEN               7001
  343. #define MENU_SAVE               7002
  344. #define MENU_SAVEAS             7003
  345. #define MENU_SETINCLUDE         7004
  346. #define MENU_NEWCUST            7005
  347. #define MENU_OPENCUST           7006
  348. #define MENU_REMCUST            7007
  349. #define MENU_EXIT               7008
  350.  
  351. /*
  352.  * Edit menu.
  353.  */
  354. #define MENU_RESTOREDIALOG      7020
  355. #define MENU_CUT                7021
  356. #define MENU_COPY               7022
  357. #define MENU_PASTE              7023
  358. #define MENU_DELETE             7024
  359. #define MENU_DUPLICATE          7025
  360. #define MENU_SYMBOLS            7026
  361. #define MENU_STYLES             7027
  362. #define MENU_SIZETOTEXT         7028
  363. #define MENU_NEWDIALOG          7029
  364. #define MENU_SELECTDIALOG       7030
  365.  
  366. /*
  367.  * Arrange menu.
  368.  */
  369. #define MENU_ALIGNLEFT          7040
  370. #define MENU_ALIGNVERT          7041
  371. #define MENU_ALIGNRIGHT         7042
  372. #define MENU_ALIGNTOP           7043
  373. #define MENU_ALIGNHORZ          7044
  374. #define MENU_ALIGNBOTTOM        7045
  375. #define MENU_SPACEHORZ          7046
  376. #define MENU_SPACEVERT          7047
  377. #define MENU_ARRSIZEWIDTH       7048
  378. #define MENU_ARRSIZEHEIGHT      7049
  379. #define MENU_ARRPUSHBOTTOM      7050
  380. #define MENU_ARRPUSHRIGHT       7051
  381. #define MENU_ORDERGROUP         7052
  382. #define MENU_ARRSETTINGS        7053
  383.  
  384. /*
  385.  * Options menu.
  386.  */
  387. #define MENU_TESTMODE           7060
  388. #define MENU_HEXMODE            7061
  389. #define MENU_TRANSLATE          7062
  390. #define MENU_USENEWKEYWORDS     7063
  391. #define MENU_SHOWTOOLBOX        7064
  392.  
  393. /*
  394.  * Help menu.
  395.  */
  396. #define MENU_CONTENTS           7070
  397. #define MENU_SEARCH             7071
  398. #define MENU_ABOUT              7072
  399.  
  400. /*
  401.  * Hidden menu commands (accessed by accelerators).
  402.  */
  403. #define MENU_HIDDEN_TOPROPBAR   7080
  404. #define MENU_HIDDEN_TOTOOLBOX   7081
  405.  
  406.  
  407. /*
  408.  * Various resource id's. --------------------------------------------------
  409.  */
  410.  
  411. #define IDICON_DLGEDIT          8000        // Application icon.
  412. #define IDICON_ICON             8001        // Generic Icon control icon.
  413. #define IDACCEL_MAIN            8002        // Accelerator table resource.
  414. #define IDMENU_MAIN             8003        // Menu resource.
  415.  
  416. #define IDCUR_OUTSEL            8010
  417. #define IDCUR_INSERT            8011
  418. #define IDCUR_MOVE              8012
  419. #define IDCUR_DROPTOOL          8013
  420.  
  421. #define IDBM_TABSTOP            8020
  422. #define IDBM_DRAGHANDLE         8021
  423. #define IDBM_DRAGHANDLE2        8022
  424.  
  425. /*
  426.  * Alignment menu bitmaps.
  427.  */
  428. #define IDBM_ALEFT              8030
  429. #define IDBM_AVERT              8031
  430. #define IDBM_ARIGHT             8032
  431. #define IDBM_ATOP               8033
  432. #define IDBM_AHORZ              8034
  433. #define IDBM_ABOTTOM            8035
  434. #define IDBM_ASPCVERT           8036
  435. #define IDBM_ASPCHORZ           8037
  436. #define IDBM_ASZWIDTH           8038
  437. #define IDBM_ASZHGHT            8039
  438. #define IDBM_APBBOTTM           8040
  439. #define IDBM_APBRIGHT           8041
  440.  
  441. /*
  442.  * Toolbox button bitmaps.  The IDBM_TU* id's are for the "up"
  443.  * (not depressed) bitmaps and the IDBM_TD* id's are for the "down"
  444.  * (depressed) bitmaps.
  445.  */
  446. #define IDBM_TUPOINTR           8050
  447. #define IDBM_TUTEXT             8051
  448. #define IDBM_TUEDIT             8052
  449. #define IDBM_TUGROUP            8053
  450. #define IDBM_TUPUSH             8054
  451. #define IDBM_TUCHECK            8055
  452. #define IDBM_TURADIO            8056
  453. #define IDBM_TUCOMBO            8057
  454. #define IDBM_TULIST             8058
  455. #define IDBM_TUHSCROL           8059
  456. #define IDBM_TUVSCROL           8060
  457. #define IDBM_TUFRAME            8061
  458. #define IDBM_TURECT             8062
  459. #define IDBM_TUICON             8063
  460. #define IDBM_TUCUSTOM           8064
  461.  
  462. #define IDBM_TDPOINTR           8070
  463. #define IDBM_TDTEXT             8071
  464. #define IDBM_TDEDIT             8072
  465. #define IDBM_TDGROUP            8073
  466. #define IDBM_TDPUSH             8074
  467. #define IDBM_TDCHECK            8075
  468. #define IDBM_TDRADIO            8076
  469. #define IDBM_TDCOMBO            8077
  470. #define IDBM_TDLIST             8078
  471. #define IDBM_TDHSCROL           8079
  472. #define IDBM_TDVSCROL           8080
  473. #define IDBM_TDFRAME            8081
  474. #define IDBM_TDRECT             8082
  475. #define IDBM_TDICON             8083
  476. #define IDBM_TDCUSTOM           8084
  477.  
  478. /*
  479.  * Control Type bitmaps for the Order/Group dialog.
  480.  */
  481. #define IDBM_CTTEXT             8090
  482. #define IDBM_CTEDIT             8091
  483. #define IDBM_CTGROUP            8092
  484. #define IDBM_CTPUSH             8093
  485. #define IDBM_CTCHECK            8094
  486. #define IDBM_CTRADIO            8095
  487. #define IDBM_CTCOMBO            8096
  488. #define IDBM_CTLIST             8097
  489. #define IDBM_CTHSCROL           8098
  490. #define IDBM_CTVSCROL           8099
  491. #define IDBM_CTFRAME            8100
  492. #define IDBM_CTRECT             8101
  493. #define IDBM_CTICON             8102
  494. #define IDBM_CTCUSTOM           8103
  495.