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.

69 lines
1.8 KiB

  1. #include <windows.h>
  2. #include "aviview.h"
  3. ID_APP ICON aviview.ico
  4. AppIcon ICON aviview.ico
  5. ID_APP menu
  6. begin
  7. POPUP "&File"
  8. begin
  9. MENUITEM "&Open..." , MENU_OPEN
  10. MENUITEM "&Close" , MENU_NEW
  11. MENUITEM "&Merge..." , MENU_ADD
  12. MENUITEM "&Save" , MENU_SAVE
  13. MENUITEM "Save &As..." , MENU_SAVEAS
  14. MENUITEM "Save &Raw..." , MENU_SAVERAW
  15. MENUITEM SEPARATOR
  16. MENUITEM "Save O&ptions..." , MENU_OPTIONS
  17. MENUITEM "E&xit" , MENU_EXIT
  18. end
  19. POPUP "&Edit"
  20. begin
  21. MENUITEM "Cu&t\t^X" , MENU_CUT
  22. MENUITEM "&Copy\t^C" , MENU_COPY
  23. MENUITEM "Copy &File" , MENU_CFILE
  24. MENUITEM "&Paste\t^V" , MENU_PASTE
  25. MENUITEM "&Delete\tDel", , MENU_DELETE
  26. MENUITEM SEPARATOR
  27. MENUITEM "&Mark\tEnter", , MENU_MARK
  28. end
  29. POPUP "&Action"
  30. begin
  31. MENUITEM "&Play\t^P" , MENU_PLAY
  32. MENUITEM "&Stop\t^S" , MENU_STOP
  33. MENUITEM SEPARATOR
  34. MENUITEM "Play File" , MENU_PLAY_FILE
  35. MENUITEM "Play Stream" , MENU_PLAY_STREAM
  36. end
  37. POPUP "&Zoom"
  38. begin
  39. MENUITEM "/&4" , MENU_ZOOMQUARTER
  40. MENUITEM "/&2" , MENU_ZOOMHALF
  41. MENUITEM "x&1" , MENU_ZOOM1
  42. MENUITEM "x2" , MENU_ZOOM2
  43. MENUITEM "x4" , MENU_ZOOM4
  44. end
  45. POPUP "&Random"
  46. begin
  47. MENUITEM "Save S&mall..." , MENU_SAVESMALL
  48. MENUITEM "Open &Ball" , MENU_BALL
  49. MENUITEM "Wave &Format..." , MENU_WAVEFORMAT
  50. end
  51. end
  52. /*
  53. * ACCELERATORS
  54. */
  55. ID_APP ACCELERATORS PRELOAD
  56. BEGIN
  57. /* New Accelerators */
  58. "^Z", MENU_UNDO
  59. "^X", MENU_CUT
  60. "^C", MENU_COPY
  61. "^V", MENU_PASTE
  62. "^P", MENU_PLAY
  63. "^S", MENU_STOP
  64. VK_DELETE, MENU_DELETE, VIRTKEY
  65. VK_RETURN, MENU_MARK, VIRTKEY
  66. END