Source code of Windows XP (NT5)
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.

429 lines
15 KiB

  1. //---------------------------------------------------------------------------
  2. // Defines for the rc file.
  3. //---------------------------------------------------------------------------
  4. //---------------------------------------------------------------------------
  5. // Command IDs
  6. //---------------------------------------------------------------------------
  7. // Menu defines...
  8. // Our command ID range includes the global and browser ranges
  9. //
  10. #define FCIDM_FIRST FCIDM_GLOBALFIRST
  11. #define FCIDM_LAST FCIDM_BROWSERLAST
  12. // these are also defined in shlobj.h so views can mess with them
  13. #define FCIDM_TOOLBAR (FCIDM_BROWSERFIRST + 0)
  14. #define FCIDM_STATUS (FCIDM_BROWSERFIRST + 1)
  15. #define FCIDM_DRIVELIST (FCIDM_BROWSERFIRST + 2) /* ;Internal */
  16. #define FCIDM_TREE (FCIDM_BROWSERFIRST + 3) /* ;Internal */
  17. #define FCIDM_TABS (FCIDM_BROWSERFIRST + 4) /* ;Internal */
  18. //---------------------------------------------------------------------------
  19. #define FCIDM_BROWSER_FILE (FCIDM_BROWSERFIRST+0x0020)
  20. #define FCIDM_FILECLOSE (FCIDM_BROWSER_FILE+0x0001)
  21. #define FCIDM_PREVIOUSFOLDER (FCIDM_BROWSER_FILE+0x0002)
  22. #define FCIDM_DELETE (FCIDM_BROWSER_FILE+0x0003)
  23. #define FCIDM_RENAME (FCIDM_BROWSER_FILE+0x0004)
  24. #define FCIDM_PROPERTIES (FCIDM_BROWSER_FILE+0x0005)
  25. // these aren't real menu commands, but they map to accelerators or other things
  26. #define FCIDM_NEXTCTL (FCIDM_BROWSER_FILE+0x0010)
  27. #define FCIDM_DROPDRIVLIST (FCIDM_BROWSER_FILE+0x0011)
  28. #define FCIDM_CONTEXTMENU (FCIDM_BROWSER_FILE+0x0012) // REVIEW: I assume used by help
  29. //---------------------------------------------------------------------------
  30. #define FCIDM_BROWSER_EDIT (FCIDM_BROWSERFIRST+0x0040)
  31. #define FCIDM_MOVE (FCIDM_BROWSER_EDIT+0x0001)
  32. #define FCIDM_COPY (FCIDM_BROWSER_EDIT+0x0002)
  33. #define FCIDM_LINK (FCIDM_BROWSER_EDIT+0x0003) // create shortcut
  34. #define FCIDM_PASTE (FCIDM_BROWSER_EDIT+0x0004)
  35. //---------------------------------------------------------------------------
  36. #define FCIDM_BROWSER_VIEW (FCIDM_BROWSERFIRST+0x0060)
  37. #define FCIDM_VIEWMENU (FCIDM_BROWSER_VIEW+0x0001)
  38. #define FCIDM_VIEWTOOLBAR (FCIDM_BROWSER_VIEW+0x0002)
  39. #define FCIDM_VIEWSTATUSBAR (FCIDM_BROWSER_VIEW+0x0003)
  40. #define FCIDM_OPTIONS (FCIDM_BROWSER_VIEW+0x0004)
  41. #define FCIDM_REFRESH (FCIDM_BROWSER_VIEW+0x0005)
  42. #define FCIDM_VIEWITBAR (FCIDM_BROWSER_VIEW+0x0007)
  43. #define FCIDM_VIEWNEW (FCIDM_BROWSER_VIEW+0x0012)
  44. //---------------------------------------------------------------------------
  45. #define FCIDM_BROWSER_TOOLS (FCIDM_BROWSERFIRST+0x0080)
  46. #define FCIDM_CONNECT (FCIDM_BROWSER_TOOLS+0x0001)
  47. #define FCIDM_DISCONNECT (FCIDM_BROWSER_TOOLS+0x0002)
  48. #define FCIDM_CONNECT_SEP (FCIDM_BROWSER_TOOLS+0x0003)
  49. #define FCIDM_GOTO (FCIDM_BROWSER_TOOLS+0x0004)
  50. #define FCIDM_FINDFILES (FCIDM_BROWSER_TOOLS+0x0005)
  51. #define FCIDM_FINDCOMPUTER (FCIDM_BROWSER_TOOLS+0x0006)
  52. #define FCIDM_MENU_TOOLS_FINDFIRST (FCIDM_BROWSER_TOOLS+0x0007)
  53. #define FCIDM_MENU_TOOLS_FINDLAST (FCIDM_BROWSER_TOOLS+0x0040)
  54. //---------------------------------------------------------------------------
  55. #define FCIDM_BROWSER_HELP (FCIDM_BROWSERFIRST+0x0100)
  56. #define FCIDM_HELPSEARCH (FCIDM_BROWSER_HELP+0x0001)
  57. #define FCIDM_HELPABOUT (FCIDM_BROWSER_HELP+0x0002)
  58. //----------------------------------------------------------------
  59. #define FCIDM_BROWSER_EXPLORE (FCIDM_BROWSERFIRST + 0x0110)
  60. #define FCIDM_NAVIGATEBACK (FCIDM_BROWSER_EXPLORE+0x0001)
  61. #define FCIDM_NAVIGATEFORWARD (FCIDM_BROWSER_EXPLORE+0x0002)
  62. #define FCIDM_RECENTMENU (FCIDM_BROWSER_EXPLORE+0x0010)
  63. #define FCIDM_RECENTFIRST (FCIDM_BROWSER_EXPLORE+0x0011)
  64. #define FCIDM_RECENTLAST (FCIDM_BROWSER_EXPLORE+0x0050)
  65. #define FCIDM_FAVS_FIRST (FCIDM_BROWSER_EXPLORE+0x0055)
  66. #define FCIDM_FAVS_MANAGE (FCIDM_FAVS_FIRST + 0)
  67. #define FCIDM_FAVS_ADDTO (FCIDM_FAVS_FIRST + 1)
  68. #define FCIDM_FAVS_MORE (FCIDM_FAVS_FIRST + 2)
  69. #define FCIDM_FAVS_ITEMFIRST (FCIDM_FAVS_FIRST + 10)
  70. #define FCIDM_FAVS_ITEM (FCIDM_FAVS_ITEMFIRST + 0)
  71. #define FCIDM_FAVS_ITEMLAST (FCIDM_FAVS_FIRST + 300)
  72. #define FCIDM_FAVS_LAST (FCIDM_FAVS_ITEMLAST)
  73. // menu help and tooltip defines for the string resources
  74. #define MH_POPUPS 700
  75. #define MH_ITEMS (800 - FCIDM_FIRST)
  76. #define MH_TTBASE (MH_ITEMS - (FCIDM_LAST - FCIDM_FIRST))
  77. #define IDM_CLOSE FCIDM_LAST + 0x0011
  78. //---------------------------------------------------------------------------
  79. // Icon defines...
  80. // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  81. // NOTE: If you are adding new icons, give them #defines at the END, do not use "unused"
  82. // slots in the middle or you will mess up all of the explorer.exe icon indexes that
  83. // are hardcoded and persisted in vaious places.
  84. // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  85. #define ICO_FIRST 100
  86. #define ICO_MYCOMPUTER 100
  87. #define ICO_TREEUP_EXPLORER 101 // old printer tray icon
  88. #define ICO_OLD_PRINTER 102
  89. #define ICO_DESKTOP 103
  90. #define ICO_OLD_PRINTER_ERROR 104 // old printer error tray icon
  91. #define ICO_STARTMENU 107
  92. #define ICO_DOCMENU 108
  93. #define ICO_OLD_INFO 109
  94. #define ICO_OLD_WARNING 110
  95. #define ICO_OLD_ERROR 111
  96. #define ICO_SHOWALL 200
  97. #define ICO_HIDEHIDDEN 201
  98. #define ICO_HIDESYSTEM 202
  99. #define ICO_MULTWIN 203
  100. #define ICO_OLD_MYCOMPUTER 205 // old my computer icon
  101. #define ICO_SHOWDEMOTED 250
  102. #define ICO_HIDEDEMOTED 251
  103. #define ICO_TRAYPROP_PLACEHOLDER 252
  104. #define ICO_INTERNETBROWSER 253
  105. #define ICO_INTERNETMAIL 254
  106. #define ICO_MEDIAPLAYER 255
  107. #define ICO_WORDMAIL 256
  108. #define ICO_CLASSICSM 257
  109. // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  110. // ADD NEW ICONS ABOVE THIS LINE
  111. // (see comment at the top of of the list of ICO_xxx defines)
  112. // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  113. #define IDB_START 143
  114. #define IDB_TAAUTOHIDE 145
  115. #define IDB_TAQLLOCKGROUP 146
  116. #define IDB_TAQLNOLOCKGROUP 147
  117. #define IDB_TAQLLOCKNOGROUP 148
  118. #define IDB_TAQLNOLOCKNOGROUP 149
  119. #define IDB_TALOCKGROUP 150
  120. #define IDB_TANOLOCKGROUP 151
  121. #define IDB_TALOCKNOGROUP 152
  122. #define IDB_TANOLOCKNOGROUP 153
  123. #ifndef _WIN64
  124. #define IDB_SERVERSTARTBKG 158
  125. #define IDB_TERMINALSERVICESBKG 162
  126. #define IDB_ADVSERVERSTARTBKG 163
  127. #define IDB_DCSERVERSTARTBKG 164
  128. #define IDB_EMBEDDED 165
  129. #define IDB_PERSONALSTARTBKG 166
  130. #define IDB_PROFESSIONALSTARTBKG 167
  131. #else // _WIN64
  132. #define IDB_WIN64PROSTART 168
  133. #define IDB_WIN64ADVSERSTART 169
  134. #endif
  135. #define IDB_STARTPREVIEWNEW 170
  136. #define IDB_STARTPREVIEWCLASSIC 171
  137. #define IDB_TRAYCHEVRONHORIZ 172
  138. #define IDB_TRAYCHEVRONHORIZOPEN 173
  139. #define IDB_TRAYCHEVRONVERT 174
  140. #define IDB_TRAYCHEVRONVERTOPEN 175
  141. #define IDB_STARTCLASSIC 176
  142. #define IDB_START16 178
  143. #define IDB_START16MASK 179
  144. #define IDB_NACLOCKCLEAN 180
  145. #define IDB_NANOCLOCKCLEAN 181
  146. #define IDB_NACLOCKNOCLEAN 182
  147. #define IDB_NANOCLOCKNOCLEAN 183
  148. //---------------------------------------------------------------------------
  149. // Menu IDs
  150. #define MENU_CABINET 200
  151. #define MENU_TRAY 203
  152. #define MENU_START 204
  153. #define MENU_TRAYCONTEXT 205
  154. #define MENU_COMBINEDTASKS 209
  155. #define MENU_GROUPCONTEXT 210
  156. #define MENU_STARTPANECONTEXT 211
  157. //---------------------------------------------------------------------------
  158. // Accelerators...
  159. #define ACCEL_TRAY 251
  160. //---------------------------------------------------------------------------
  161. // Dialog template IDs
  162. #define DLG_TRAY_VIEW_OPTIONS 6
  163. #define DLG_NOTIFY 7
  164. #define DLG_STARTMENU_CONFIG 9
  165. #define DLG_PROGRAMFILECONFLICT 20
  166. // global ids
  167. #ifndef IDC_STATIC
  168. #define IDC_STATIC -1
  169. #endif
  170. #define IDC_GROUPBOX 300
  171. #define IDC_GROUPBOX_2 301
  172. #define IDC_GROUPBOX_3 302
  173. // ids to disable context Help
  174. #define IDC_NO_HELP_1 650
  175. #define IDC_NO_HELP_2 651
  176. #define IDC_NO_HELP_3 652
  177. #define IDC_NO_HELP_4 653
  178. // ids for DLG_FOLDEROPTIONS
  179. #define IDC_ALWAYS 700
  180. #define IDC_NEVER 701
  181. // ids for DLG_VIEWOPTIONS
  182. #define IDC_SHOWALL 750
  183. #define IDC_SHOWSYS 751
  184. #define IDC_SHOWSOME 752
  185. #define IDC_SHOWFULLPATH 753
  186. #define IDC_HIDEEXTS 754
  187. #define IDC_SHOWDESCBAR 755
  188. #define IDC_SHOWCOMPCOLOR 756
  189. #define IDC_TOP 1001
  190. #define IDC_BOTTOM 1002
  191. #define IDC_LEFT 1003
  192. #define IDC_RIGHT 1004
  193. // ids for DLG_PROGRAMFILECONFLICT
  194. #define IDC_RENAME 1006
  195. #define IDC_MSG 1007
  196. // Now define controls for Tray options property sheet page
  197. #define IDC_TRAYOPTONTOP 1101
  198. #define IDC_TRAYOPTAUTOHIDE 1102
  199. #define IDC_TRAYOPTSHOWCLOCK 1103
  200. #define IDC_TASKBARAPPEARANCE 1111
  201. #define IDC_NOTIFYAPPEARANCE 1112
  202. #define IDC_STARTMENUSETTINGS 1123
  203. #define IDC_RESORT 1124
  204. #define IDC_KILLDOCUMENTS 1125
  205. #define IDC_ADDSHORTCUT 1126
  206. #define IDC_DELSHORTCUT 1127
  207. #define IDC_EXPLOREMENUS 1128
  208. // and the startmenu view prop sheet
  209. #define IDC_PICTSMICONS 1131
  210. #define IDC_STARTMENUSETTINGSTEXT 1132
  211. #define IDC_PERSONALIZEDMENUS 1500
  212. #define IDC_TRAYNOTIFY_CHEVRON 1502
  213. //---------------------------------------------------------------------------
  214. // String IDs
  215. #define IDS_CABINET 509
  216. #define IDS_STARTMENU 510
  217. #define IDS_WINDOWS 513
  218. #define IDS_CLOSE 514
  219. #define IDS_WINININORUN 515
  220. #define IDS_TASKBAR 518
  221. #define IDS_CONTENTSOF 523
  222. #define IDS_DESKTOP 524
  223. #define IDS_SUSPENDERROR1 525
  224. #define IDS_SUSPENDERROR2 526
  225. #define IDS_OUTOFMEM 529
  226. #define IDS_CANTFINDSPECIALDIR 530
  227. #define IDS_NOTINITED 531
  228. #define IDS_STARTBUTTONTIP 533
  229. #define IDS_UNDOTEMPLATE 534
  230. #define IDS_CASCADE 535
  231. #define IDS_TILE 536
  232. #define IDS_MINIMIZEALL 537
  233. // The next items are used to build the clean boot message...
  234. #define IDS_CLEANBOOTMSG 538
  235. #define IDS_CLEANBOOTMSGRESTORE 539
  236. // 540, 541 available
  237. #define IDS_HIDEDEMOTEDTIP 542
  238. #define IDS_SHOWDEMOTEDTIP 543
  239. #define IDS_BANNERFIRST 544
  240. #define IDS_BANNERLAST 575
  241. // reserve 544-575 for the banner
  242. #define IDS_START 578
  243. #define IDS_EXCEPTIONMSG 579
  244. #define IDS_RESTRICTIONSTITLE 580
  245. #define IDS_RESTRICTIONS 581
  246. #define IDS_BANGICONINFOTITLE 590
  247. #define IDS_BANGICONINFOTIP1 591
  248. #define IDS_TRAYNOTIFYTITLE 593
  249. #define IDS_TASKBANDTITLE 594
  250. #define IDS_STARTCLASSIC 595
  251. // Strings for App Terminate
  252. #define IDS_OKTOKILLAPP1 603
  253. #define IDS_OKTOKILLAPP2 604
  254. #define IDC_CLOCK 303
  255. #define IDC_START 304
  256. #define IDC_KBSTART 305
  257. #define IDC_ASYNCSTART 306
  258. #define IDC_RAISEDESKTOP 307
  259. // SYSPOPUP menu IDs
  260. #define IDSYSPOPUP_CLOSE 1
  261. #define IDSYSPOPUP_FIRST 2
  262. #define IDSYSPOPUP_LAST 0x7fef
  263. #define IDSYSPOPUP_OPENCOMMON 0x7ff0
  264. #define IDSYSPOPUP_EXPLORECOMMON 0x7ff1
  265. #define IDSYSPOPUP_STARTMENUPROP 0x7ff2
  266. // Display change errors.
  267. #define IDS_DISPLAY_ERROR 701
  268. #define IDS_DISPLAY_WARN 702
  269. #define IDS_ALREADYAUTOHIDEBAR 705
  270. #define IDS_TASKDROP_ERROR 711
  271. #define IDS_COMMON 716
  272. #define IDS_BETAEXPIRED 717
  273. // Open / Explore Common strings
  274. #define IDS_OPENCOMMON 718
  275. #define IDS_EXPLORECOMMON 719
  276. // "Start Menu properties"
  277. #define IDS_STARTMENUPROP 720
  278. #define IDS_RUNDLGTITLE 722
  279. #define IDS_LOGOFFNOUSER 730
  280. #define IDS_TURNOFFCOMPUTER 731
  281. #define IDS_HELP_CMD 732
  282. #define IDS_NOTITLE 733
  283. // Start Button
  284. #define IDS_STARTMENUBALLOON_TITLE 800
  285. #define IDS_STARTMENUBALLOON_TIP 801
  286. #define IDS_STARTMENUANDTASKBAR 810
  287. #define IDS_FIXSCREENRES_TITLE 811
  288. #define IDS_FIXSCREENRES_TEXT 812
  289. // Offer tour
  290. #define IDS_OFFERTOUR_TITLE 821
  291. #define IDS_OFFERTOUR_TEXT 822
  292. // Context Menu Strings
  293. #define IDS_HIDEDESKTOP 850
  294. // For Taskband
  295. #define IDS_BOGUSLABELS 851
  296. #ifdef DEBUG
  297. #define IDM_SIZEUP 427
  298. #define IDM_SIZEDOWN 428
  299. #endif
  300. #define IDM_RESTORE 310
  301. #define IDM_MINIMIZE 311
  302. #define IDM_MAXIMIZE 312
  303. // WARNING! WARNING! WARNING! WARNING! WARNING! WARNING!
  304. // shell\lib\sdspatch\sdmain.cpp has a copy of these IDs!
  305. #define IDM_TRAYCONTEXTFIRST 400
  306. #define IDM_FILERUN 401
  307. #define IDM_LOGOFF 402
  308. #define IDM_CASCADE 403
  309. #define IDM_HORIZTILE 404
  310. #define IDM_VERTTILE 405
  311. #define IDM_DESKTOPARRANGEGRID 406
  312. #define IDM_TOGGLEDESKTOP 407
  313. #define IDM_SETTIME 408
  314. #define IDM_SUSPEND 409
  315. #define IDM_EJECTPC 410
  316. #define IDM_SETTINGSASSIST 411
  317. #define IDM_TASKLIST 412
  318. #define IDM_TRAYPROPERTIES 413
  319. #define IDM_MINIMIZEALL 415
  320. #define IDM_UNDO 416
  321. #define IDM_RETURN 417
  322. #define IDM_PRINTNOTIFY_FOLDER 418
  323. #define IDM_MINIMIZEALLHOTKEY 419
  324. #define IDM_SHOWTASKMAN 420
  325. // END WARNING! END WARNING! END WARNING! END WARNING! END WARNING!
  326. #define IDM_NOTIFYCUST 421
  327. #define IDM_UNGROUP 422
  328. #define IDM_LOCKTASKBAR 424
  329. #define IDM_SEP2 450
  330. #ifdef WINNT // hydra specific ids
  331. // unused 5000
  332. #define IDM_MU_SECURITY 5001
  333. #endif
  334. //Start menu IDS have been moved to inc/startids.h, to share with shdocvw.dll
  335. #include <startids.h>