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.

89 lines
2.4 KiB

  1. #include <windows.h>
  2. #include "PlaySnd.h"
  3. IDI_ICON ICON PlaySnd.ico
  4. Ding WAVE ding.wav
  5. Siren WAVE siren.wav
  6. Laser WAVE laser.wav
  7. IDM_DING WAVE ding.wav
  8. IDM_SIREN WAVE siren.wav
  9. IDM_LASER WAVE laser.wav
  10. IDM_MENU MENU
  11. begin
  12. popup "&File"
  13. begin
  14. menuitem "&Play..." IDM_PLAYFILE
  15. menuitem SEPARATOR
  16. menuitem "E&xit", IDM_EXIT
  17. menuitem "A&bout PlaySnd...\tCtrl+A", IDM_ABOUT
  18. end
  19. menuitem "&Sounds..." IDM_SOUNDS
  20. popup "&Resource"
  21. begin
  22. menuitem "&Ding" IDM_DING
  23. menuitem "&Laser" IDM_LASER
  24. menuitem "&Siren" IDM_SIREN
  25. menuitem "By Id" IDM_RESOURCEID
  26. end
  27. popup "&MessageBeep"
  28. begin
  29. menuitem "&Hand" IDM_ICONHAND
  30. menuitem "&Question" IDM_ICONQUESTION
  31. menuitem "&Exclamation" IDM_ICONEXCLAMATION
  32. menuitem "&Asterisk" IDM_ICONASTERISK
  33. menuitem SEPARATOR
  34. menuitem "Sync - &Hand" IDM_SYNC_ICONHAND
  35. menuitem "Sync - &Question" IDM_SYNC_ICONQUESTION
  36. menuitem "Sync - &Exclamation" IDM_SYNC_ICONEXCLAMATION
  37. menuitem "Sync - &Asterisk" IDM_SYNC_ICONASTERISK
  38. end
  39. popup "&Options"
  40. begin
  41. menuitem "&Synchronous" IDM_SYNC
  42. menuitem "No &wait" IDM_NOWAIT
  43. menuitem "No&default" IDM_NODEFAULT
  44. end
  45. #ifdef MEDIA_DEBUG
  46. popup "&Debug"
  47. begin
  48. menuitem "Level 0" IDM_DEBUG0
  49. menuitem "Level 1" IDM_DEBUG1
  50. menuitem "Level 2" IDM_DEBUG2
  51. menuitem "Level 3" IDM_DEBUG3
  52. menuitem "Level 4" IDM_DEBUG4
  53. end
  54. #endif
  55. popup "&Help"
  56. begin
  57. menuitem "&Index", IDM_HELP_INDEX
  58. menuitem "&Keyboard", IDM_HELP_KEYBOARD
  59. menuitem "Using &Help", IDM_HELP_HELP
  60. menuitem SEPARATOR
  61. menuitem "&About PlaySnd..." IDM_ABOUT
  62. end
  63. end
  64. STRINGTABLE
  65. begin
  66. IDS_APPNAME, "PlaySnd"
  67. end
  68. IDA_ACCTABLE ACCELERATORS
  69. begin
  70. "^A", IDM_ABOUT
  71. end
  72. rcinclude sounddlg.dlg
  73. rcinclude about.dlg