Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

320 lines
9.1 KiB

  1. /**************************************************************************
  2. * resource.h - Font assistant resource constants.
  3. *
  4. * Copyright (C) 1992-93 ElseWare Corporation. All rights reserved.
  5. ***************************************************************************/
  6. #ifndef __RESOURCE_H__
  7. #define __RESOURCE_H__
  8. #include <dlgs.h>
  9. //*********************************************************************
  10. // Icons
  11. //
  12. #define IDI_ICON 1
  13. #define IDI_FIRSTFONTICON 2 // First in image list.
  14. #define IDI_TTF 2
  15. #define IDI_FON 3
  16. #define IDI_TTC 4
  17. #define IDI_T1 5
  18. #define IDI_OTFp 6 // "OTp" icon
  19. #define IDI_OTFt 7 // "OTt" icon
  20. #define IDI_LASTFONTICON 7 // Update this if you add another.
  21. #define TYPE1ICON IDI_T1
  22. // Extracted from SHELL32.DLL
  23. //
  24. #define IDI_X_LINK 30
  25. #define IDI_X_NUKE_FILE 161
  26. #define IDI_X_DELETE 142
  27. //*********************************************************************
  28. // Bitmaps
  29. //
  30. #define IDB_TOOLICONS 15
  31. //*********************************************************************
  32. // Accelerator table
  33. //
  34. #define ACCEL_DEF 20
  35. //*********************************************************************
  36. // Menus and Menu Items
  37. //
  38. #define MENU_DEFSHELLVIEW 29
  39. #define IDM_FILE_SAMPLE 30
  40. #define IDM_FILE_PRINT 31
  41. #define IDM_FILE_INSTALL 32
  42. #define IDM_FILE_LINK 33
  43. #define IDM_FILE_DEL 34
  44. #define IDM_FILE_RENAME 35
  45. #define IDM_FILE_PROPERTIES 36
  46. #define IDM_EDIT_SELECTALL 37
  47. #define IDM_EDIT_SELECTINVERT 38
  48. #define IDM_EDIT_CUT 39
  49. #define IDM_EDIT_COPY 40
  50. #define IDM_EDIT_PASTE 41
  51. // --------------------------------------------------------
  52. // The following IDs need to be kept in sequetial order:
  53. // IDM_VIEW_ICON to IDM_POINT_DOWN
  54. //
  55. #define IDM_VIEW_ICON 42
  56. #define IDM_VIEW_LIST 43
  57. #define IDM_VIEW_PANOSE 44
  58. #define IDM_VIEW_DETAILS 45
  59. #define IDM_VIEW_ACTUAL 46
  60. #define IDM_EDIT_UNDO 47
  61. #define IDM_VIEW_PREVIEW 48
  62. // --------------------------------------------------------
  63. #define IDM_VIEW_VARIATIONS 49
  64. // Popups for context menus.
  65. #define IDM_POPUPS 58
  66. #define IDM_POPUP_NOITEM 59
  67. #define IDM_POPUP_DRAGDROP 60
  68. // Other messages delivered through WM_COMMAND
  69. //
  70. #define IDM_IDLE 61
  71. #define IDM_POPUP_MOVE 62
  72. #define IDM_POPUP_COPY 63
  73. #define IDM_POPUP_LINK 64
  74. #define IDM_POPUP_CANCEL 65
  75. #define IDM_HELP_TOPIC 66
  76. #define IDM_HELP_ABOUT 67
  77. //*********************************************************************
  78. // Dialogs
  79. //
  80. #define ID_DLG_FONT2 70 // Install dialog
  81. #define ID_LB_ADD ctlLast+1
  82. #define ID_SS_PCT ctlLast+2
  83. #define ID_DLG_MAIN 76
  84. #define ID_TXT_SIM 77
  85. #define ID_CB_PANOSE 78
  86. #define ID_DLG_PROPPAGE 80
  87. #define ID_DLG_OPTIONS 85
  88. #define IDC_TTONLY 86
  89. #define DLG_INSTALL 90
  90. #define IDD_INSTALL 91
  91. #define COLOR_SAVE 92
  92. #define IDD_HELP 93
  93. #define DLG_BROWSE 100
  94. #define IDD_BROWSE 101
  95. #define DLG_PROGRESS 110
  96. #define DLG_INSTALL_PS 120
  97. #define DLG_COPYRIGHT_NOTIFY 130
  98. #define IDC_COPYRIGHT_FONTNAME 131
  99. #define IDC_COPYRIGHT_VENDORNAME 132
  100. //
  101. // Help ids
  102. //
  103. #define IDH_HELPFIRST 5000
  104. #define IDH_SYSMENU (IDH_HELPFIRST + 2000)
  105. #define IDH_MBFIRST (IDH_HELPFIRST + 2001)
  106. #define IDH_DLG_FONT2 (IDH_HELPFIRST + 2002)
  107. #define IDH_MBLAST (IDH_HELPFIRST + 2099)
  108. #define IDH_DLGFIRST (IDH_HELPFIRST + 3000)
  109. //#define IDH_DLG_REMOVEFONT (IDH_DLGFIRST + DLG_REMOVEFONT)
  110. #define IDH_DLG_BROWSE (IDH_DLGFIRST + DLG_BROWSE)
  111. #define IDH_DLG_INSTALL_PS (IDH_DLGFIRST + DLG_INSTALL_PS)
  112. //#define IDH_DLG_REMOVEFONT_PS (IDH_DLGFIRST + DLG_REMOVEFONT_PS)
  113. //
  114. // Progress dialog control ids
  115. //
  116. #define ID_INSTALLMSG 42
  117. #define ID_PROGRESSMSG 43
  118. #define ID_BAR 44
  119. #define ID_OVERALL 45
  120. //
  121. // Font dialogs control ids
  122. //
  123. #define IDD_YESALL 122
  124. #define FONT_REMOVEMSG 418
  125. #define FONT_REMOVECHECK 419
  126. #define FONT_TRUETYPEONLY 420
  127. #define FONT_CONVERT_PS 431
  128. #define FONT_INSTALL_PS 432
  129. #define FONT_COPY_PS 433
  130. #define FONT_REMOVE_PS 434
  131. #define FONT_INSTALLMSG 435
  132. //*********************************************************************
  133. // Strings
  134. //
  135. /* General messsages. If the message is a constant string, we call
  136. * it IDS_MSG_xxx or IDX_TXT_xxx.
  137. * If we substitute something (via sprintf or similar), its IDS_FMT_xxx
  138. */
  139. #define IDS_FONTS_FOLDER 140 // The name of the fonts folder in the windows dir.
  140. #define IDS_MSG_CAPTION 151
  141. #define IDS_MSG_NOVERSION 153
  142. #define IDS_MSG_NSFMEM 154
  143. #define IDS_MSG_PANOSE 163
  144. #define IDS_MSG_ALLFILTER 165
  145. #define IDS_MSG_NORMALFILTER 166
  146. #define IDS_FMT_VERSION 177
  147. /* Font installer messages */
  148. #define IDSI_CAP_NOINSTALL 210
  149. #define IDSI_CAP_NOCREATE 211
  150. #define IDSE_CAP_CREATERR 212
  151. #define IDSI_MSG_TTDISABLED 215
  152. #define IDSI_MSG_NOFONTS 216
  153. #define IDSI_MSG_COPYCONFIRM 217
  154. #define IDSI_MSG_DEFDIR 218
  155. #define IDSI_FMT_BADINSTALL 222
  156. #define IDSI_FMT_ISINSTALLED 223
  157. #define IDSI_FMT_RETRIEVE 224
  158. #define IDSI_FMT_COMPRFILE 225
  159. #define IDSI_FMT_FILEFNF 229
  160. #define IDSI_UNKNOWN_VENDOR 232
  161. #define INSTALL0 250
  162. #define INSTALL1 251
  163. #define INSTALL2 252
  164. #define INSTALL3 253
  165. #define INSTALL4 254
  166. #define INSTALL5 255
  167. #define INSTALL6 256
  168. #define INSTALL7 257
  169. #define INSTALL8 258
  170. #define INSTALL9 259
  171. // COLUMN String info for the List Views
  172. #define IDS_PAN_COL1 301
  173. #define IDS_PAN_COL2 302
  174. #define IDS_FILE_COL1 303
  175. #define IDS_FILE_COL2 304
  176. #define IDS_FILE_COL3 305
  177. #define IDS_FILE_COL4 306
  178. #define IDS_FILE_COL5 307
  179. #define IDS_ATTRIB_CHARS 308
  180. #define IDS_FONTSAMPLE_TEXT 309
  181. #define IDS_FONTSAMPLE_SYMBOLS 310
  182. #define IDS_VIEW_ICON 311
  183. #define IDS_VIEW_LIST 312
  184. #define IDS_VIEW_PANOSE 313
  185. #define IDS_VIEW_DETAILS 314
  186. // File types
  187. #define IDS_FONT_FILE 407
  188. #define IDS_TT_FILE 408
  189. #define IDS_NO_PAN_INFO 409
  190. #define IDS_PAN_VERY_SIMILAR 410
  191. #define IDS_PAN_SIMILAR 411
  192. #define IDS_PAN_NOT_SIMILAR 412
  193. #define IDS_FMT_FILEK 413
  194. #define IDS_TTC_CONCAT 414
  195. // Strings for Shell Extension
  196. //
  197. #define IDS_EXT_INSTALL 420
  198. #define IDS_EXT_INSTALL_HELP 421
  199. //
  200. // Strings for font file validation errors.
  201. // FVS = Font Validation Status.
  202. //
  203. #define IDS_FMT_FVS_PREFIX 450
  204. #define IDS_FMT_FVS_FILEOPEN 451
  205. #define IDS_FMT_FVS_FILECREATE 452
  206. #define IDS_FMT_FVS_FILEEXISTS 453
  207. #define IDS_FMT_FVS_BADVERSION 454
  208. #define IDS_FMT_FVS_INVFONTFILE 455
  209. #define IDS_FMT_FVS_FILEIO 466
  210. #define IDS_FMT_FVS_INTERNAL 467
  211. // Status messages.
  212. //
  213. #define IDST_FILE_SAMPLE 490
  214. #define IDST_FILE_PRINT 491
  215. #define IDST_FILE_INSTALL 492
  216. #define IDST_FILE_LINK 493
  217. #define IDST_FILE_DEL 494
  218. #define IDST_FILE_RENAME 495
  219. #define IDST_FILE_PROPERTIES 496
  220. #define IDST_EDIT_SELECTALL 497
  221. #define IDST_EDIT_SELECTINVERT 498
  222. #define IDST_EDIT_CUT 499
  223. #define IDST_EDIT_COPY 500
  224. #define IDST_EDIT_PASTE 501
  225. #define IDST_VIEW_ICON 502
  226. #define IDST_VIEW_LIST 503
  227. #define IDST_VIEW_PANOSE 504
  228. #define IDST_VIEW_DETAILS 505
  229. #define IDST_EDIT_UNDO 506
  230. #define IDST_VIEW_VARIATIONS 509
  231. #define IDST_VIEW_PREVIEW 510
  232. #define IDST_HELP_TOPICS 511
  233. #define IDS_SELECTED_FONT_COUNT 520
  234. #define IDS_TOTAL_FONT_COUNT 521
  235. #define IDS_TOTAL_AND_HIDDEN_FONT_COUNT 522
  236. #define IDSI_FMT_DELETECONFIRM 523
  237. #define IDS_NEXTREBOOT 524
  238. #define IDS_INSTALL_MUTEX_WAIT_FAILED 525
  239. #define INSTALLIT 530 /* Two messages for installing */
  240. #define MYFONT 600
  241. #define IDC_LIST_OF_FONTS 601
  242. #endif // __RESOURCE_H__