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.

121 lines
2.9 KiB

  1. /*****************************************************************************
  2. *
  3. * Perfmon.rc - This is the menu and string resource module.
  4. *
  5. * Microsoft Confidential
  6. * Copyright (c) 1992-1993 Microsoft Corporation
  7. *
  8. *
  9. ****************************************************************************/
  10. //=============================//
  11. // Includes //
  12. //=============================//
  13. #include "dlgids.h"
  14. #include "menuids.h"
  15. #include "strids.h"
  16. #include "perfmrc.h"
  17. #include <windows.h>
  18. //=============================//
  19. // Icons //
  20. //=============================//
  21. #ifdef ADVANCED_PERFMON
  22. idIcon ICON PRELOAD perfmon.ico
  23. #else
  24. idIcon ICON PRELOAD perfmetr.ico
  25. #endif
  26. //=============================//
  27. // Dialogs //
  28. //=============================//
  29. // #include "abort.dlg"
  30. #include "addline.dlg"
  31. #include "addlog.dlg"
  32. #include "alrtdisp.dlg"
  33. #include "alrtoptn.dlg"
  34. #include "datasrc.dlg"
  35. #include "logdisp.dlg"
  36. #include "logoptns.dlg"
  37. #include "rptoptns.dlg"
  38. #include "timefrm.dlg"
  39. #include "export.dlg"
  40. #include "pmrc.dlg"
  41. #include "chosecom.dlg"
  42. //=============================//
  43. // Menus //
  44. //=============================//
  45. #include "menus.rc"
  46. //=============================//
  47. // Bitmap //
  48. //=============================//
  49. idBitmapToolbar BITMAP PRELOAD perfmon.bmp
  50. idBitmapAlertStatus BITMAP PRELOAD alerts.bmp
  51. idBitmapLogStatus BITMAP PRELOAD logs.bmp
  52. //=============================//
  53. // Strings //
  54. //=============================//
  55. #include "helpline.rc"
  56. #include "strings.rc"
  57. //=============================//
  58. // Accelerators //
  59. //=============================//
  60. idAccelerators ACCELERATORS
  61. begin
  62. "^C", IDM_VIEWCHART
  63. #ifdef ADVANCED_PERFMON
  64. "^A", IDM_VIEWALERT
  65. "^L", IDM_VIEWLOG
  66. "^R", IDM_VIEWREPORT
  67. "^W", IDM_FILESAVEWORKSPACE
  68. "^B", IDM_OPTIONSBOOKMARK
  69. "^E", IDM_EDITTIMEWINDOW
  70. "^G", IDM_OPTIONSLEGENDONOFF
  71. #endif
  72. VK_F1, IDM_HELPCONTENTS, VIRTKEY
  73. "^U", IDM_TOOLBARREFRESH
  74. "^M", IDM_OPTIONSDISPLAYMENU
  75. "^T", IDM_OPTIONSDISPLAYTOOL
  76. "^S", IDM_OPTIONSDISPLAYSTATUS
  77. "^P", IDM_OPTIONSDISPLAYONTOP
  78. VK_F12, IDM_FILEOPENFILE, VIRTKEY, CONTROL
  79. VK_F12, IDM_FILESAVEFILE, VIRTKEY, SHIFT
  80. VK_F12, IDM_FILESAVEASFILE, VIRTKEY
  81. "^H", IDM_CHARTHIGHLIGHTON
  82. "^I", IDM_TOOLBARADD
  83. "^O", IDM_TOOLBAROPTIONS
  84. VK_DELETE, IDM_TOOLBARDELETE, VIRTKEY
  85. end
  86. #include <ntverp.h>
  87. #define VER_FILETYPE VFT_APP
  88. #define VER_FILESUBTYPE VFT2_UNKNOWN
  89. #define VER_FILEDESCRIPTION_STR "Performance Monitor"
  90. #define VER_INTERNALNAME_STR "PERFMON.EXE"
  91. #define VER_ORIGINALFILENAME_STR "PERFMON.EXE"
  92. #include "common.ver"
  93. #include "perfmsg.rc"
  94.