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.

346 lines
12 KiB

  1. /*******************************************************************************
  2. *
  3. * (C) COPYRIGHT MICROSOFT CORP., 1993-1994
  4. *
  5. * TITLE: REGRESID.H
  6. *
  7. * VERSION: 4.01
  8. *
  9. * AUTHOR: Tracy Sharpe
  10. *
  11. * DATE: 05 Mar 1994
  12. *
  13. * Resource identifiers for the Registry Editor.
  14. *
  15. *******************************************************************************/
  16. #ifndef _INC_REGRESID
  17. #define _INC_REGRESID
  18. #define HEXEDIT_CLASSNAME "HEX"
  19. //
  20. //
  21. //
  22. #define IDD_REGEXPORT 100
  23. #define IDD_REGPRINT 108
  24. #define IDC_FIRSTREGCOMMDLGID 1280
  25. #define IDC_RANGEALL 1280
  26. #define IDC_RANGESELECTEDPATH 1281
  27. #define IDC_SELECTEDPATH 1282
  28. #define IDC_EXPORTRANGE 1283
  29. #define IDC_LASTREGCOMMDLGID 1283
  30. //
  31. //
  32. //
  33. #define IDD_EDITSTRINGVALUE 102
  34. #define IDD_EDITBINARYVALUE 103
  35. #define IDD_EDITDWORDVALUE 111
  36. #define IDC_VALUENAME 1000
  37. #define IDC_VALUEDATA 1001
  38. #define IDC_HEXADECIMAL 1002
  39. #define IDC_DECIMAL 1003
  40. //
  41. //
  42. //
  43. #define IDD_REGCONNECT 104
  44. #define IDC_REMOTENAME 1100
  45. #define IDC_BROWSE 1101
  46. //
  47. //
  48. //
  49. #define IDD_REGPRINTABORT 105
  50. //
  51. // Dialog box for the Edit-> Find... menu option.
  52. //
  53. #define IDD_REGFIND 106
  54. #define IDC_FINDWHAT 1150
  55. #define IDC_WHOLEWORDONLY 1151
  56. // NOTE: The flags IDC_FOR* must be consecutive.
  57. #define IDC_FORKEYS 1152
  58. #define IDC_FORVALUES 1153
  59. #define IDC_FORDATA 1154
  60. #define IDC_GROUPBOX 1160
  61. #define IDD_REGDISCONNECT 107
  62. #define IDC_REMOTELIST 1175
  63. //
  64. // Dialog box for the find abort.
  65. //
  66. #define IDD_REGFINDABORT 109
  67. //
  68. // Dialog box for Import Registry File progress display.
  69. //
  70. #define IDD_REGPROGRESS 110
  71. #define IDC_FILENAME 100
  72. #define IDC_PROGRESSBAR 101
  73. //
  74. // Menu resource identifiers.
  75. //
  76. #define IDM_REGEDIT 103
  77. #define IDM_KEY_CONTEXT 104
  78. #define IDM_VALUE_CONTEXT 105
  79. #define IDM_VALUELIST_NOITEM_CONTEXT 106
  80. #define IDM_COMPUTER_CONTEXT 107
  81. //
  82. // HexEdit context menu identifier and items. The IDKEY_* identifier
  83. // correspond to the WM_CHAR message that it corresponds to. For example,
  84. // IDKEY_COPY would send a control-c to the HexEdit_OnChar routine.
  85. //
  86. #define IDM_HEXEDIT_CONTEXT 108
  87. #define IDKEY_COPY 3
  88. #define IDKEY_PASTE 22
  89. #define IDKEY_CUT 24
  90. #define ID_SELECTALL 0x0400
  91. //
  92. // Popup menu item identifiers. Used to determine the context menu help
  93. // string.
  94. //
  95. #define ID_FIRSTMENUPOPUPITEM 0x0200
  96. #define ID_LASTMENUPOPUPITEM 0x027F
  97. #define IDMP_REGISTRY 0x0200
  98. #define IDMP_EDIT 0x0201
  99. #define IDMP_VIEW 0x0202
  100. #define IDMP_HELP 0x0203
  101. #define IDMP_NEW 0x0204
  102. //
  103. // Main menu items. If any of these items are selected from a context menu,
  104. // they will be automatically routed to the main window's command handler.
  105. //
  106. #define ID_FIRSTMAINMENUITEM 0x0280
  107. #define ID_LASTMAINMENUITEM 0x02FF
  108. // Following are really keyboard accelerators.
  109. #define ID_CYCLEFOCUS (ID_FIRSTMAINMENUITEM + 0x0000)
  110. // IMPORTANT: Do not change the position of this identifier. If Regedit is
  111. // already running and Regedit is then invoked through its commandline
  112. // interface, then the second instance will send a WM_COMMAND message with this
  113. // identifier to force a refresh.
  114. #define ID_REFRESH (ID_FIRSTMAINMENUITEM + 0x0008)
  115. #define ID_CONNECT (ID_FIRSTMAINMENUITEM + 0x0011)
  116. #define ID_IMPORTREGFILE (ID_FIRSTMAINMENUITEM + 0x0012)
  117. #define ID_EXPORTREGFILE (ID_FIRSTMAINMENUITEM + 0x0013)
  118. #define ID_PRINT (ID_FIRSTMAINMENUITEM + 0x0014)
  119. #define ID_EXIT (ID_FIRSTMAINMENUITEM + 0x0015)
  120. #define ID_FIND (ID_FIRSTMAINMENUITEM + 0x0016)
  121. #define ID_NEWKEY (ID_FIRSTMAINMENUITEM + 0x0017)
  122. #define ID_NEWSTRINGVALUE (ID_FIRSTMAINMENUITEM + 0x0018)
  123. #define ID_NEWBINARYVALUE (ID_FIRSTMAINMENUITEM + 0x0019)
  124. #define ID_EXECCALC (ID_FIRSTMAINMENUITEM + 0x001A)
  125. #define ID_ABOUT (ID_FIRSTMAINMENUITEM + 0x001B)
  126. #define ID_STATUSBAR (ID_FIRSTMAINMENUITEM + 0x001C)
  127. #define ID_SPLIT (ID_FIRSTMAINMENUITEM + 0x001E)
  128. #define ID_FINDNEXT (ID_FIRSTMAINMENUITEM + 0x001F)
  129. #define ID_HELPTOPICS (ID_FIRSTMAINMENUITEM + 0x0020)
  130. #define ID_NETSEPARATOR (ID_FIRSTMAINMENUITEM + 0x0021)
  131. #define ID_NEWDWORDVALUE (ID_FIRSTMAINMENUITEM + 0x0022)
  132. //
  133. // Dual menu items. The routing of these items depends on whether it was
  134. // selected from the main menu or from a context menu.
  135. //
  136. #define ID_FIRSTDUALMENUITEM 0x0300
  137. #define ID_LASTDUALMENUITEM 0x037F
  138. #define ID_DISCONNECT (ID_FIRSTDUALMENUITEM + 0x0000)
  139. //
  140. // Context menu items. If any of these items are selected from the main menu,
  141. // they will be automatically routed to the focus pane's command handler.
  142. //
  143. #define ID_FIRSTCONTEXTMENUITEM 0x0380
  144. #define ID_LASTCONTEXTMENUITEM 0x03FF
  145. // Following are really keyboard accelerators.
  146. #define ID_CONTEXTMENU (ID_FIRSTCONTEXTMENUITEM + 0x0000)
  147. #define ID_MODIFY (ID_FIRSTCONTEXTMENUITEM + 0x0010)
  148. #define ID_DELETE (ID_FIRSTCONTEXTMENUITEM + 0x0011)
  149. #define ID_RENAME (ID_FIRSTCONTEXTMENUITEM + 0x0012)
  150. #define ID_TOGGLE (ID_FIRSTCONTEXTMENUITEM + 0x0013)
  151. #define ID_SENDTOPRINTER (ID_FIRSTCONTEXTMENUITEM + 0x0014)
  152. //
  153. // String resource identifiers.
  154. //
  155. #define IDS_REGEDIT 16
  156. #define IDS_NAMECOLUMNLABEL 17
  157. #define IDS_DATACOLUMNLABEL 18
  158. #define IDS_COMPUTER 19
  159. #define IDS_DEFAULTVALUE 20
  160. // #define IDS_EMPTYSTRING 21
  161. #define IDS_EMPTYBINARY 22
  162. #define IDS_NEWKEYNAMETEMPLATE 23
  163. #define IDS_NEWVALUENAMETEMPLATE 24
  164. #define IDS_COLLAPSE 25
  165. #define IDS_MODIFY 26
  166. #define IDS_VALUENOTSET 27
  167. #define IDS_HELPFILENAME 28
  168. #define IDS_DWORDDATAFORMATSPEC 29
  169. #define IDS_INVALIDDWORDDATA 30
  170. #define IDS_IMPORTREGFILETITLE 32
  171. #define IDS_EXPORTREGFILETITLE 33
  172. #define IDS_REGFILEFILTER 34
  173. #define IDS_REGFILEDEFEXT 35
  174. #define IDS_REGEDITDISABLED 40
  175. #define IDS_SEARCHEDTOEND 41
  176. #define IDS_COMPUTERBROWSETITLE 42
  177. #define IDS_CONFIRMDELKEYTEXT 48
  178. #define IDS_CONFIRMDELKEYTITLE 49
  179. #define IDS_CONFIRMDELVALMULTITEXT 50
  180. #define IDS_CONFIRMDELVALTITLE 51
  181. #define IDS_CONFIRMDELVALTEXT 52
  182. #define IDS_RENAMEKEYERRORTITLE 64
  183. #define IDS_RENAMEPREFIX 65 // Reserved
  184. #define IDS_RENAMEKEYOTHERERROR 66
  185. #define IDS_RENAMEKEYTOOLONG 67
  186. #define IDS_RENAMEKEYEXISTS 68
  187. #define IDS_RENAMEKEYBADCHARS 69
  188. #define IDS_RENAMEVALERRORTITLE 72
  189. #define IDS_RENAMEVALOTHERERROR 73
  190. #define IDS_RENAMEVALEXISTS 74
  191. #define IDS_DELETEKEYERRORTITLE 80
  192. #define IDS_DELETEPREFIX 81 // Reserved
  193. #define IDS_DELETEKEYDELETEFAILED 82
  194. #define IDS_DELETEVALERRORTITLE 88
  195. #define IDS_DELETEVALDELETEFAILED 89
  196. #define IDS_OPENKEYERRORTITLE 96
  197. #define IDS_OPENKEYCANNOTOPEN 97
  198. #define IDS_EDITVALERRORTITLE 112
  199. #define IDS_EDITPREFIX 113 // Reserved
  200. #define IDS_EDITVALCANNOTREAD 114
  201. #define IDS_EDITVALCANNOTWRITE 115
  202. #define IDS_IMPFILEERRSUCCESS 128
  203. #define IDS_IMPFILEERRFILEOPEN 129
  204. #define IDS_IMPFILEERRFILEREAD 130
  205. #define IDS_IMPFILEERRREGOPEN 131
  206. #define IDS_IMPFILEERRREGSET 132
  207. #define IDS_IMPFILEERRFORMATBAD 133
  208. #define IDS_EXPFILEERRSUCCESS 136
  209. #define IDS_EXPFILEERRBADREGPATH 137
  210. #define IDS_EXPFILEERRFILEOPEN 138
  211. #define IDS_EXPFILEERRREGOPEN 139
  212. #define IDS_EXPFILEERRREGENUM 140
  213. #define IDS_EXPFILEERRFILEWRITE 141
  214. #define IDS_PRINTERRNOMEMORY 144
  215. #define IDS_PRINTERRPRINTER 145
  216. #define IDS_ERRINVALIDREGPATH 148
  217. #define IDS_CONNECTERRORTITLE 152
  218. #define IDS_CONNECTNOTLOCAL 153
  219. #define IDS_CONNECTBADNAME 154
  220. #define IDS_CONNECTROOTFAILED 155
  221. #define IDS_CONNECTACCESSDENIED 156
  222. #define IDS_NEWKEYERRORTITLE 160
  223. #define IDS_NEWKEYPARENTOPENFAILED 161
  224. #define IDS_NEWKEYCANNOTCREATE 162
  225. #define IDS_NEWKEYNOUNIQUE 163
  226. #define IDS_NEWVALUEERRORTITLE 168
  227. #define IDS_NEWVALUECANNOTCREATE 169
  228. #define IDS_NEWVALUENOUNIQUE 170
  229. // The range IDS_FIRSTMENUPOPUPITEM through IDS_LASTMENUPOPUPITEM is reserved
  230. // for context menu help. This must match up with ID_FIRSTMENUPOPUPITEM
  231. // through ID_LASTMENUPOPUPITEM.
  232. #define IDS_FIRSTMENUPOPUPITEM ID_FIRSTMENUPOPUPITEM
  233. #define IDS_LASTMENUPOPUPITEM ID_LASTMENUPOPUPITEM
  234. // The range IDS_FIRSTMAINMENUITEM through IDS_LASTMAINMENUITEM is reserved for
  235. // context menu help. This must match up with ID_FIRSTMAINMENUITEM through
  236. // ID_LASTMAINMENUITEM.
  237. #define IDS_FIRSTMAINMENUITEM ID_FIRSTMAINMENUITEM
  238. #define IDS_LASTMAINMENUITEM ID_LASTMAINMENUITEM
  239. // The range IDS_FIRSTCONTEXTMENUITEM through IDS_LASTCONTEXTMENUITEM is
  240. // reserved for context menu help. This must match up with
  241. // ID_FIRSTCONTEXTMENUITEM through ID_LASTCONTEXTMENUITEM.
  242. #define IDS_FIRSTCONTEXTMENUITEM ID_FIRSTCONTEXTMENUITEM
  243. #define IDS_LASTCONTEXTMENUITEM ID_LASTCONTEXTMENUITEM
  244. // The range IDS_FIRSTDUALMENUITEM through IDS_LASTDUALMENUITEM is reserved for
  245. // context menu help. This must match up with ID_FIRSTDUALMENUITEM through
  246. // ID_LASTDUALMENUITEM.
  247. #define IDS_FIRSTDUALMENUITEM ID_FIRSTDUALMENUITEM
  248. #define IDS_LASTDUALMENUITEM ID_LASTDUALMENUITEM
  249. //
  250. // Icon resource identifiers.
  251. //
  252. #define IDI_REGEDIT 100
  253. #define IDI_REGEDDOC 101
  254. #define IDI_REGFIND 102
  255. #define IDI_FIRSTIMAGE 201
  256. // #define IDI_DIAMOND 200
  257. #define IDI_COMPUTER 201
  258. #define IDI_REMOTE 202
  259. #define IDI_FOLDER 203
  260. #define IDI_FOLDEROPEN 204
  261. #define IDI_STRING 205
  262. #define IDI_BINARY 206
  263. #define IDI_LASTIMAGE IDI_BINARY
  264. //
  265. // Cursor resource identifiers.
  266. //
  267. #define IDC_SPLIT 100
  268. //
  269. // Accelerator resource identifiers.
  270. //
  271. #define IDACCEL_REGEDIT 100
  272. #endif // _INC_REGRESID