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.

50 lines
2.2 KiB

  1. #include <windows.h>
  2. ; #include <mmsysver.h>
  3. #include <cphelp.h>
  4. #include "snd.h"
  5. ; #include "snd.rcv"
  6. ID_ICON ICON PRELOAD MOVEABLE DISCARDABLE SND.ICO
  7. DLG_SOUND DIALOG 119, 43, 241, 110
  8. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  9. CAPTION "Sound"
  10. //FONT 8, "MS Shell Dlg"
  11. FONT 8, "MS Shell Dlg"
  12. BEGIN
  13. CONTROL "", ID_DIR, "static", SS_LEFT | WS_CHILD, 115, 95, 75, 8
  14. CONTROL "&Events:", -1, "static", SS_LEFT | WS_CHILD, 5, 6, 102, 8
  15. CONTROL "", LB_NAMES, "listbox", LBS_NOTIFY | LBS_SORT | LBS_STANDARD | LBS_USETABSTOPS | WS_BORDER | WS_VSCROLL | WS_TABSTOP | WS_CHILD, 5, 20, 102, 70
  16. CONTROL "&Files:", -1, "static", SS_LEFT | WS_CHILD, 115, 6, 75, 8
  17. CONTROL "", LB_FILES, "listbox", LBS_NOTIFY | LBS_SORT | LBS_STANDARD | LBS_USETABSTOPS | WS_BORDER | WS_VSCROLL | WS_TABSTOP | WS_CHILD, 115, 20, 75, 65
  18. CONTROL "OK", IDOK, "button", BS_DEFPUSHBUTTON | WS_TABSTOP | WS_CHILD, 196, 6, 40, 14
  19. CONTROL "Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 196, 23, 40, 14
  20. CONTROL "&Test", ID_PLAY, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 196, 40, 40, 14
  21. CONTROL "&Help", IDH_CHILD_SND, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 196, 57, 40, 14
  22. CONTROL "E&nable System Sounds", ID_BEEP, "button", BS_AUTOCHECKBOX | WS_TABSTOP | WS_CHILD, 5, 95, 102, 10
  23. END
  24. STRINGTABLE PRELOAD MOVEABLE DISCARDABLE
  25. BEGIN
  26. IDS_NAME, "Sound"
  27. IDS_INFO, "Assigns sounds to system events"
  28. IDS_UNABLETITLE, "Sound"
  29. IDS_UNABLEMESSAGE, "Unable to play sound"
  30. IDS_WARNINGTITLE, "Sound: Sound Change Warning"
  31. IDS_WARNINGMESSAGE, "Another application has also changed the Sounds. OK will overwrite those changes."
  32. IDS_NONE, "<none>"
  33. IDS_APPNAME, "Sound"
  34. IDS_HELPFILE, "control.hlp"
  35. IDS_NODEVICE, "No suitable wave output device available"
  36. IDS_WRITEERR, "An error occurred when writing the sounds to disk. Error %ld."
  37. END
  38. #include <ntverp.h>
  39. #define VER_FILETYPE VFT_DLL
  40. #define VER_FILESUBTYPE VFT2_UNKNOWN
  41. #define VER_FILEDESCRIPTION_STR "Control Panel Sound"
  42. #define VER_INTERNALNAME_STR "snd"
  43. #define VER_ORIGINALFILENAME_STR "sound.dll"
  44. #include "common.ver"