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.

271 lines
10 KiB

  1. //======================================//
  2. // Chart Menu //
  3. //======================================//
  4. idMenuChart MENU
  5. {
  6. POPUP "&File"
  7. {
  8. MENUITEM "&New Chart" IDM_FILENEWCHART
  9. MENUITEM "&Open...\tCtrl+F12" IDM_FILEOPENCHART
  10. MENUITEM SEPARATOR
  11. MENUITEM "&Save Chart Settings\tShift+F12" IDM_FILESAVECHART
  12. MENUITEM "Save Chart Settings &As... \tF12" IDM_FILESAVEASCHART
  13. #ifdef ADVANCED_PERFMON
  14. MENUITEM "Save &Workspace...\tCtrl+W" IDM_FILESAVEWORKSPACE
  15. #endif
  16. MENUITEM SEPARATOR
  17. MENUITEM "&Export Chart..." IDM_FILEEXPORTCHART
  18. MENUITEM SEPARATOR
  19. MENUITEM "E&xit\tAlt+F4" IDM_FILEEXIT
  20. }
  21. POPUP "&Edit"
  22. {
  23. MENUITEM "&Add To Chart...\tCtrl+I" IDM_EDITADDCHART
  24. MENUITEM "&Edit Chart Line..." IDM_EDITMODIFYCHART
  25. #ifdef ADVANCED_PERFMON
  26. MENUITEM SEPARATOR
  27. MENUITEM "&Time Window...\tCtrl+E" IDM_EDITTIMEWINDOW
  28. #endif
  29. MENUITEM SEPARATOR
  30. MENUITEM "&Clear Display" IDM_EDITCLEARCHART
  31. MENUITEM "&Delete From Chart\tDel" IDM_EDITDELETECHART
  32. }
  33. #ifdef ADVANCED_PERFMON
  34. POPUP "&View"
  35. {
  36. MENUITEM "&Chart\tCtrl+C" IDM_VIEWCHART
  37. MENUITEM "&Alert\tCtrl+A" IDM_VIEWALERT
  38. MENUITEM "&Log\tCtrl+L" IDM_VIEWLOG
  39. MENUITEM "&Report\tCtrl+R" IDM_VIEWREPORT
  40. }
  41. #endif
  42. POPUP "&Options"
  43. {
  44. MENUITEM "&Chart...\tCtrl+O" IDM_OPTIONSCHART
  45. MENUITEM SEPARATOR
  46. MENUITEM "&Menu and Title\tCtrl+M" IDM_OPTIONSDISPLAYMENU
  47. MENUITEM "&Toolbar\tCtrl+T" IDM_OPTIONSDISPLAYTOOL
  48. MENUITEM "&Status Bar\tCtrl+S" IDM_OPTIONSDISPLAYSTATUS
  49. MENUITEM "Always On To&p\tCtrl+P" IDM_OPTIONSDISPLAYONTOP
  50. #ifdef ADVANCED_PERFMON
  51. MENUITEM SEPARATOR
  52. MENUITEM "Data &From..." IDM_OPTIONSDATASOURCE
  53. #endif
  54. MENUITEM SEPARATOR
  55. MENUITEM "&Update Now\tCtrl+U" IDM_OPTIONSREFRESHNOWCHART
  56. #ifdef ADVANCED_PERFMON
  57. MENUITEM SEPARATOR
  58. MENUITEM "&Bookmark...\tCtrl+B" IDM_OPTIONSBOOKMARK
  59. #endif
  60. }
  61. POPUP "&Help"
  62. {
  63. MENUITEM "&Contents" IDM_HELPCONTENTS
  64. MENUITEM "&Search for Help On..." IDM_HELPSEARCH
  65. MENUITEM "&How to Use Help..." IDM_HELPHELP
  66. MENUITEM SEPARATOR
  67. #ifdef ADVANCED_PERFMON
  68. MENUITEM "&About Performance Monitor..." IDM_HELPABOUT
  69. #else
  70. MENUITEM "&About Performance Meter..." IDM_HELPABOUT
  71. #endif
  72. }
  73. }
  74. // The other menus only applied to Advanced PerfMon
  75. #ifdef ADVANCED_PERFMON
  76. //======================================//
  77. // Alert Menu //
  78. //======================================//
  79. idMenuAlert MENU
  80. {
  81. POPUP "&File"
  82. {
  83. MENUITEM "&New Alert Settings" IDM_FILENEWALERT
  84. MENUITEM "&Open...\tCtrl+F12" IDM_FILEOPENALERT
  85. MENUITEM SEPARATOR
  86. MENUITEM "&Save Alert Settings\tShift+F12" IDM_FILESAVEALERT
  87. MENUITEM "Save Alert Settings &As... \tF12" IDM_FILESAVEASALERT
  88. MENUITEM "Save &Workspace...\tCtrl+W" IDM_FILESAVEWORKSPACE
  89. MENUITEM SEPARATOR
  90. MENUITEM "&Export Alert..." IDM_FILEEXPORTALERT
  91. MENUITEM SEPARATOR
  92. MENUITEM "E&xit\tAlt+F4" IDM_FILEEXIT
  93. }
  94. POPUP "&Edit"
  95. {
  96. MENUITEM "&Add To Alert...\tCtrl+I" IDM_EDITADDALERT
  97. MENUITEM "&Edit Alert Entry..." IDM_EDITMODIFYALERT
  98. MENUITEM SEPARATOR
  99. MENUITEM "&Time Window...\tCtrl+E" IDM_EDITTIMEWINDOW
  100. MENUITEM SEPARATOR
  101. MENUITEM "&Clear Display" IDM_EDITCLEARALERT
  102. MENUITEM "&Delete Alert\tDel" IDM_EDITDELETEALERT
  103. }
  104. POPUP "&View"
  105. {
  106. MENUITEM "&Chart\tCtrl+C" IDM_VIEWCHART
  107. MENUITEM "&Alert\tCtrl+A" IDM_VIEWALERT
  108. MENUITEM "&Log\tCtrl+L" IDM_VIEWLOG
  109. MENUITEM "&Report\tCtrl+R" IDM_VIEWREPORT
  110. }
  111. POPUP "&Options"
  112. {
  113. MENUITEM "&Alert...\tCtrl+O" IDM_OPTIONSALERT
  114. MENUITEM SEPARATOR
  115. MENUITEM "&Menu and Title\tCtrl+M" IDM_OPTIONSDISPLAYMENU
  116. MENUITEM "&Toolbar\tCtrl+T" IDM_OPTIONSDISPLAYTOOL
  117. MENUITEM "&Status Bar\tCtrl+S" IDM_OPTIONSDISPLAYSTATUS
  118. MENUITEM "Always On To&p\tCtrl+P" IDM_OPTIONSDISPLAYONTOP
  119. MENUITEM SEPARATOR
  120. MENUITEM "Data &From..." IDM_OPTIONSDATASOURCE
  121. MENUITEM SEPARATOR
  122. MENUITEM "&Update Now\tCtrl+U" IDM_OPTIONSREFRESHNOWALERT
  123. MENUITEM SEPARATOR
  124. MENUITEM "&Bookmark...\tCtrl+B" IDM_OPTIONSBOOKMARK
  125. }
  126. POPUP "&Help"
  127. {
  128. MENUITEM "&Contents" IDM_HELPCONTENTS
  129. MENUITEM "&Search for Help On..." IDM_HELPSEARCH
  130. MENUITEM "&How to Use Help..." IDM_HELPHELP
  131. MENUITEM SEPARATOR
  132. MENUITEM "&About Performance Monitor..." IDM_HELPABOUT
  133. }
  134. }
  135. //======================================//
  136. // Log Menu //
  137. //======================================//
  138. idMenuLog MENU
  139. {
  140. POPUP "&File"
  141. {
  142. MENUITEM "&New Log Settings" IDM_FILENEWLOG
  143. MENUITEM "&Open...\tCtrl+F12" IDM_FILEOPENLOG
  144. MENUITEM SEPARATOR
  145. MENUITEM "&Save Log Settings\tShift+F12" IDM_FILESAVELOG
  146. MENUITEM "Save Log Settings &As... \tF12" IDM_FILESAVEASLOG
  147. MENUITEM "Save &Workspace...\tCtrl+W" IDM_FILESAVEWORKSPACE
  148. MENUITEM SEPARATOR
  149. MENUITEM "&Export Log..." IDM_FILEEXPORTLOG
  150. MENUITEM SEPARATOR
  151. MENUITEM "E&xit\tAlt+F4" IDM_FILEEXIT
  152. }
  153. POPUP "&Edit"
  154. {
  155. MENUITEM "&Add To Log...\tCtrl+I" IDM_EDITADDLOG
  156. MENUITEM SEPARATOR
  157. MENUITEM "&Time Window...\tCtrl+E" IDM_EDITTIMEWINDOW
  158. MENUITEM SEPARATOR
  159. MENUITEM "&Clear Display" IDM_EDITCLEARLOG, GRAYED
  160. MENUITEM "&Delete From Log\tDel" IDM_EDITDELETELOG
  161. }
  162. POPUP "&View"
  163. {
  164. MENUITEM "&Chart\tCtrl+C" IDM_VIEWCHART
  165. MENUITEM "&Alert\tCtrl+A" IDM_VIEWALERT
  166. MENUITEM "&Log\tCtrl+L" IDM_VIEWLOG
  167. MENUITEM "&Report\tCtrl+R" IDM_VIEWREPORT
  168. }
  169. POPUP "&Options"
  170. {
  171. MENUITEM "&Log...\tCtrl+O" IDM_OPTIONSLOG
  172. MENUITEM SEPARATOR
  173. MENUITEM "&Menu and Title\tCtrl+M" IDM_OPTIONSDISPLAYMENU
  174. MENUITEM "&Toolbar\tCtrl+T" IDM_OPTIONSDISPLAYTOOL
  175. MENUITEM "&Status Bar\tCtrl+S" IDM_OPTIONSDISPLAYSTATUS
  176. MENUITEM "Always On To&p\tCtrl+P" IDM_OPTIONSDISPLAYONTOP
  177. MENUITEM SEPARATOR
  178. MENUITEM "Data &From..." IDM_OPTIONSDATASOURCE
  179. MENUITEM SEPARATOR
  180. MENUITEM "&Update Now\tCtrl+U" IDM_OPTIONSREFRESHNOWLOG
  181. MENUITEM SEPARATOR
  182. MENUITEM "&Bookmark...\tCtrl+B" IDM_OPTIONSBOOKMARK
  183. }
  184. POPUP "&Help"
  185. {
  186. MENUITEM "&Contents" IDM_HELPCONTENTS
  187. MENUITEM "&Search for Help On..." IDM_HELPSEARCH
  188. MENUITEM "&How to Use Help..." IDM_HELPHELP
  189. MENUITEM SEPARATOR
  190. MENUITEM "&About Performance Monitor..." IDM_HELPABOUT
  191. }
  192. }
  193. //======================================//
  194. // Report Menu //
  195. //======================================//
  196. idMenuReport MENU
  197. {
  198. POPUP "&File"
  199. {
  200. MENUITEM "&New Report Settings" IDM_FILENEWREPORT
  201. MENUITEM "&Open...\tCtrl+F12" IDM_FILEOPENREPORT
  202. MENUITEM SEPARATOR
  203. MENUITEM "&Save Report Settings\tShift+F12" IDM_FILESAVEREPORT
  204. MENUITEM "Save Report Settings &As... \tF12" IDM_FILESAVEASREPORT
  205. MENUITEM "Save &Workspace...\tCtrl+W" IDM_FILESAVEWORKSPACE
  206. MENUITEM SEPARATOR
  207. MENUITEM "&Export Report..." IDM_FILEEXPORTREPORT
  208. MENUITEM SEPARATOR
  209. MENUITEM "E&xit\tAlt+F4" IDM_FILEEXIT
  210. }
  211. POPUP "&Edit"
  212. {
  213. MENUITEM "&Add To Report...\tCtrl+I" IDM_EDITADDREPORT
  214. MENUITEM SEPARATOR
  215. MENUITEM "&Time Window...\tCtrl+E" IDM_EDITTIMEWINDOW
  216. MENUITEM SEPARATOR
  217. MENUITEM "&Clear Display" IDM_EDITCLEARREPORT
  218. MENUITEM "&Delete From Report\tDel" IDM_EDITDELETEREPORT
  219. }
  220. POPUP "&View"
  221. {
  222. MENUITEM "&Chart\tCtrl+C" IDM_VIEWCHART
  223. MENUITEM "&Alert\tCtrl+A" IDM_VIEWALERT
  224. MENUITEM "&Log\tCtrl+L" IDM_VIEWLOG
  225. MENUITEM "&Report\tCtrl+R" IDM_VIEWREPORT
  226. }
  227. POPUP "&Options"
  228. {
  229. MENUITEM "&Report...\tCtrl+O" IDM_OPTIONSREPORT
  230. MENUITEM SEPARATOR
  231. MENUITEM "&Menu and Title\tCtrl+M" IDM_OPTIONSDISPLAYMENU
  232. MENUITEM "&Toolbar\tCtrl+T" IDM_OPTIONSDISPLAYTOOL
  233. MENUITEM "&Status Bar\tCtrl+S" IDM_OPTIONSDISPLAYSTATUS
  234. MENUITEM "Always On To&p\tCtrl+P" IDM_OPTIONSDISPLAYONTOP
  235. MENUITEM SEPARATOR
  236. MENUITEM "Data &From..." IDM_OPTIONSDATASOURCE
  237. MENUITEM SEPARATOR
  238. MENUITEM "&Update Now\tCtrl+U" IDM_OPTIONSREFRESHNOWREPORT
  239. MENUITEM SEPARATOR
  240. MENUITEM "&Bookmark...\tCtrl+B" IDM_OPTIONSBOOKMARK
  241. }
  242. POPUP "&Help"
  243. {
  244. MENUITEM "&Contents" IDM_HELPCONTENTS
  245. MENUITEM "&Search for Help On..." IDM_HELPSEARCH
  246. MENUITEM "&How to Use Help..." IDM_HELPHELP
  247. MENUITEM SEPARATOR
  248. MENUITEM "&About Performance Monitor..." IDM_HELPABOUT
  249. }
  250. }
  251. #endif
  252.