rcids.h
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 14k
Category:

Windows Kernel

Development Platform:

Visual C++

  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. #define ICO_FIRST                   100
  81. #define ICO_MYCOMPUTER              100
  82. #define ICO_TREEUP                  101
  83. #define ICO_PRINTER                 102
  84. #define ICO_DESKTOP                 103
  85. #define ICO_PRINTER_ERROR           104
  86. #define ICO_STARTMENU               107
  87. #define ICO_DOCMENU                 108
  88. #define ICO_INFO                    109
  89. #define ICO_WARNING                 110
  90. #define ICO_ERROR                   111
  91. #define ICO_SHOWALL                 200
  92. #define ICO_HIDEHIDDEN              201
  93. #define ICO_HIDESYSTEM              202
  94. #define ICO_MULTWIN                 203
  95. // Old icons
  96. #define ICO_OLD_MYCOMPUTER          205
  97. #define IDB_START                   143
  98. #define IDB_VIEWOPTIONSFIRST        149
  99. #define IDB_VOBASE                  149
  100. #define IDB_VOLARGEMENU             150
  101. #define IDB_VOTRAY                  151
  102. #define IDB_VOWINDOW                152
  103. #define IDB_VONOCLOCK               153
  104. #define IDB_VOTRAYD                 154
  105. #define IDB_VONOCLOCKD              155
  106. #ifdef DESKBTN
  107. #define IDB_VIEWOPTIONSLAST         155
  108. #else
  109. #define IDB_VIEWOPTIONSLAST         153
  110. #endif
  111. #define IDB_STARTBKG                157
  112. #define IDB_SERVERSTARTBKG          158
  113. #define IDB_IESTARTBKG              159
  114. #define IDB_POINTER                 160
  115. #define IDB_START95BK               161
  116. #define IDB_TERMINALSERVICESBKG     162
  117. #define IDB_ADVSERVERSTARTBKG       163
  118. #define IDB_DCSERVERSTARTBKG        164
  119. #define IDB_EMBEDDED                165
  120. #define IDB_SRVAPPSTARTBKG          166
  121. //---------------------------------------------------------------------------
  122. // Menu IDs
  123. #define MENU_CABINET                200
  124. #define MENU_TRAY                   203
  125. #define MENU_START                  204
  126. #define MENU_TRAYCONTEXT            205
  127. #define MENU_PRINTNOTIFYCONTEXT     207
  128. #define MENU_COMBINEDTASKS          209
  129. #define MENU_DEBUG                  212
  130. //---------------------------------------------------------------------------
  131. // Accelerators...
  132. #define ACCEL_TRAY                  251
  133. //---------------------------------------------------------------------------
  134. // Dialog template IDs
  135. #define DLG_TRAY_VIEW_OPTIONS   6
  136. #define DLG_STARTMENU_CONFIG    9
  137. #ifdef DESKBTN
  138. #define DLG_CONFIGDESKTOP       10
  139. #endif
  140. #define DLG_PROGRAMFILECONFLICT         20
  141. // global ids
  142. #define IDC_STATIC                      -1
  143. #define IDC_GROUPBOX                    300
  144. #define IDC_GROUPBOX_2                  301
  145. #define IDC_GROUPBOX_3                  302
  146. // ids to disable context Help
  147. #define IDC_NO_HELP_1                   650
  148. #define IDC_NO_HELP_2                   651
  149. #define IDC_NO_HELP_3                   652
  150. #define IDC_NO_HELP_4                   653
  151. // ids for DLG_FOLDEROPTIONS
  152. #define IDC_ALWAYS                      700
  153. #define IDC_NEVER                       701
  154. // ids for DLG_VIEWOPTIONS
  155. #define IDC_SHOWALL                     750
  156. #define IDC_SHOWSYS                     751
  157. #define IDC_SHOWSOME                    752
  158. #define IDC_SHOWFULLPATH                753
  159. #define IDC_HIDEEXTS                    754
  160. #define IDC_SHOWDESCBAR                 755
  161. #define IDC_SHOWCOMPCOLOR               756
  162. #define IDC_TOP                         1001
  163. #define IDC_BOTTOM                      1002
  164. #define IDC_LEFT                        1003
  165. #define IDC_RIGHT                       1004
  166. // ids for DLG_PROGRAMFILECONFLICT
  167. #define IDC_RENAME                      1006
  168. #define IDC_MSG                         1007
  169. // Now define controls for Tray options property sheet page
  170. #define IDC_TRAYOPTONTOP                1101
  171. #define IDC_TRAYOPTAUTOHIDE             1102
  172. #define IDC_TRAYOPTSHOWCLOCK            1103
  173. #define IDC_TRAYOPTSHOWDESKBTN          1104
  174. #define IDC_VIEWOPTIONSICONSFIRST       1111
  175. #define IDC_VOBASE                      1111
  176. #define IDC_VOLARGEMENU                 1112
  177. #define IDC_VOTRAY                      1113
  178. #define IDC_VOWINDOW                    1114
  179. #define IDC_VOTRAYNOCLOCK               1115
  180. #define IDC_VOTRAYD                     1116
  181. #define IDC_VOTRAYNOCLOCKD              1117
  182. #define IDC_STARTMENUSETTINGS           1123
  183. #define IDC_RESORT                      1124
  184. #define IDC_KILLDOCUMENTS               1125
  185. #ifndef NEW_SM_CONFIG
  186. #define IDC_ADDSHORTCUT                 1126
  187. #define IDC_DELSHORTCUT                 1127
  188. #else
  189. #define IDC_SMWIZARD                    1129
  190. #endif
  191. #define IDC_EXPLOREMENUS                1128
  192. // and the startmenu view prop sheet
  193. #define IDC_SMSMALLICONS                1130
  194. #define IDC_PICTSMICONS                 1131
  195. #define IDC_STARTMENUSETTINGSTEXT       1132
  196. #ifdef DESKBTN
  197. // ids for DLG_CONFIGUREDESKTOP
  198. #define IDC_CONFIGDESKTOP               1400
  199. #endif
  200. #define IDC_PERSONALIZEDMENUS           1500
  201. //---------------------------------------------------------------------------
  202. // String IDs
  203. #define IDS_CABINET             509
  204. #define IDS_WINDOWS             513
  205. #define IDS_CLOSE               514
  206. #define IDS_WINININORUN         515
  207. #define IDS_NUMPRINTJOBS        516
  208. #define IDS_PRINTER_ERROR       517
  209. #define IDS_TASKBAR             518
  210. #define IDS_CONTENTSOF          523
  211. #define IDS_DESKTOP             524
  212. #define IDS_SUSPENDERROR1       525
  213. #define IDS_SUSPENDERROR2       526
  214. #define IDS_CANTRUN             527
  215. #define IDS_OUTOFMEM            529
  216. #define IDS_CANTFINDSPECIALDIR  530
  217. #define IDS_NOTINITED           531
  218. #define IDS_STARTBUTTONTIP      533
  219. #define IDS_UNDOTEMPLATE        534
  220. #define IDS_CASCADE             535
  221. #define IDS_TILE                536
  222. #define IDS_MINIMIZEALL         537
  223. // The next items are used to build the clean boot message...
  224. #define IDS_CLEANBOOTMSG1       538
  225. #define IDS_CLEANBOOTMSG2       539
  226. #define IDS_CLEANBOOTMSG3       540
  227. #define IDS_CLEANBOOTMSG4       541
  228. #define IDS_BANNERFIRST         544
  229. #define IDS_BANNERLAST          575
  230. // reserve 544-575 for the banner
  231. #define IDS_START               578
  232. #define IDS_EXCEPTIONMSG        579
  233. #define IDS_RESTRICTIONSTITLE   580
  234. #define IDS_RESTRICTIONS        581
  235. // Strings for App Terminate
  236. #define IDS_OKTOKILLAPP1      603
  237. #define IDS_OKTOKILLAPP2      604
  238. #ifdef DESKBTN
  239. #define IDS_TT_DESKTOPBUTTON    605
  240. #endif
  241. #define IDS_CANTFINDFILE    651
  242. #define IDC_CLOCK           303
  243. #define IDC_START           304
  244. #define IDC_KBSTART         305
  245. #define IDC_ASYNCSTART      306
  246. #define IDC_RAISEDESKTOP    307
  247. // SYSPOPUP menu IDs
  248. #define IDSYSPOPUP_CLOSE            1
  249. #define IDSYSPOPUP_FIRST            2
  250. #define IDSYSPOPUP_LAST             0x7fef
  251. #define IDSYSPOPUP_OPENCOMMON       0x7ff0
  252. #define IDSYSPOPUP_EXPLORECOMMON    0x7ff1
  253. #define IDSYSPOPUP_DEBUGFIRST       0x7ff2
  254. #define IDM_DEBUG                   (IDSYSPOPUP_DEBUGFIRST + 0)
  255. #define IDM_DEBUGURLDB              (IDSYSPOPUP_DEBUGFIRST + 1)
  256. #define IDSYSPOPUP_DEBUGLAST        0x7fff
  257. // Display change errors.
  258. #define IDS_DISPLAY_ERROR       701
  259. #define IDS_DISPLAY_WARN        702
  260. #define IDS_ALREADYAUTOHIDEBAR  705
  261. #define IDS_TASKDROP_ERROR      711
  262. #define IDS_COMMON              716
  263. #define IDS_BETAEXPIRED         717
  264. // Open / Explore Common strings
  265. #define IDS_OPENCOMMON          718
  266. #define IDS_EXPLORECOMMON       719
  267. #define IDS_RUNDLGTITLE         722
  268. #define IDS_LOGOFFNOUSER        730
  269. // #define IDS_PLEASE_USE_THIS_ID  731
  270. #define IDS_HELP_CMD            732
  271. #define IDS_SHOWDESKTOP         733
  272. #define IDS_DESKTOPQUICKLAUNCH  734
  273. #define IDS_SHOWDESKSCF         735
  274. // Start Button
  275. #define IDS_STARTMENUBALLOON_TITLE  800
  276. #define IDS_STARTMENUBALLOON_TIP    801
  277. #define IDS_STARTMENUANDTASKBAR     810
  278. #ifdef DEBUG
  279. #define IDM_SIZEUP              427
  280. #define IDM_SIZEDOWN            428
  281. #endif
  282. #define IDM_RESTORE                 310
  283. #define IDM_MINIMIZE                311
  284. #define IDM_MAXIMIZE                312
  285. #define IDM_TRAYCONTEXTFIRST        400
  286. #define IDM_FILERUN                 401
  287. #define IDM_LOGOFF                  402
  288. #define IDM_CASCADE                 403
  289. #define IDM_HORIZTILE               404
  290. #define IDM_VERTTILE                405
  291. #define IDM_DESKTOPARRANGEGRID      406
  292. #define IDM_RAISEDESKTOP            407
  293. #define IDM_SETTIME                 408
  294. #define IDM_SUSPEND                 409
  295. #define IDM_EJECTPC                 410
  296. #define IDM_SETTINGSASSIST          411
  297. #define IDM_TASKLIST                412
  298. #define IDM_TRAYPROPERTIES          413
  299. #define IDM_MINIMIZEALL             415
  300. #define IDM_UNDO                    416
  301. #define IDM_RETURN                  417
  302. #define IDM_PRINTNOTIFY_FOLDER      418
  303. #define IDM_MINIMIZEALLHOTKEY       419
  304. #define IDM_SHOWTASKMAN             420
  305. #define IDM_SEP2                    450
  306. #ifdef WINNT // hydra specific ids
  307. // unused                           5000
  308. #define IDM_MU_SECURITY             5001
  309. #endif
  310. //Start menu IDS have been moved to inc/startids.h, to share with shdocvw.dll
  311. #include <startids.h>
  312. #ifdef FULL_DEBUG
  313. #define IDD_DEBUGURLDB                  101
  314. #define IDC_URL                         1000
  315. #define IDC_SPLATME                     1001
  316. #define IDC_CLEARSPLAT                  1002
  317. #endif // DEBUG