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
3.7 KiB

  1. //1 DLGINCLUDE "ups.h"
  2. UPSICON DIALOG 25, 38, 286, 202
  3. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  4. CAPTION "UPS"
  5. FONT 8, "MS Shell Dlg"
  6. BEGIN
  7. AUTOCHECKBOX "&Uninterruptible Power Supply is installed on:",
  8. IDD_UPS_EXISTS, 12, 10, 154, 12, WS_GROUP
  9. COMBOBOX IDD_UPS_PORTCB, 176, 10, 45, 43, CBS_DROPDOWNLIST |
  10. CBS_SORT | WS_VSCROLL | WS_TABSTOP
  11. GROUPBOX "UPS Configuration", IDD_UPS_UPSGROUP, 5, 30, 223, 74
  12. AUTOCHECKBOX "&Power failure signal", IDD_UPS_PFSIGNAL, 12, 50, 101,
  13. 10, WS_GROUP
  14. AUTORADIOBUTTON "Negative", IDD_UPS_PFSIGNALHIGH, 128, 50, 47, 12,
  15. WS_TABSTOP
  16. AUTORADIOBUTTON "Positive", IDD_UPS_PFSIGNALLOW, 180, 50, 47, 12, WS_TABSTOP
  17. AUTOCHECKBOX "&Low battery signal at least", IDD_UPS_LOWBATTERY, 12,
  18. 63, 100, 15, WS_GROUP
  19. AUTORADIOBUTTON "Negative", IDD_UPS_LOWBATTERYHIGH, 128, 67, 47, 12,
  20. WS_TABSTOP
  21. AUTORADIOBUTTON "Positive", IDD_UPS_LOWBATTERYLOW, 180, 67, 47, 12,
  22. WS_TABSTOP
  23. AUTOCHECKBOX "&Remote UPS Shutdown", IDD_UPS_TURNOFF, 12, 87, 99, 10, WS_GROUP
  24. AUTORADIOBUTTON "Negative", IDD_UPS_TURNOFFHIGH, 128, 87, 47, 12, WS_TABSTOP
  25. AUTORADIOBUTTON "Positive", IDD_UPS_TURNOFFLOW, 180, 87, 47, 12, WS_TABSTOP
  26. GROUPBOX " [--]Execute Command File", IDD_UPS_BLANKGROUP, 5, 107, 223, 32,WS_GROUP
  27. AUTOCHECKBOX "E&xecute Command File", IDD_UPS_COMMANDFILE, 12, 107, 85, 10
  28. LTEXT "File Name:", IDD_UPS_FILETEXT, 22, 124, 38, 12, NOT WS_GROUP
  29. EDITTEXT IDD_UPS_FILENAME, 62, 121, 154, 12, ES_AUTOHSCROLL
  30. GROUPBOX "UPS Characteristics", IDD_UPS_CHARACTER, 5, 140, 128, 56
  31. LTEXT "&Expected Battery Life:", IDD_UPS_BLTEXT1, 10, 156, 79,
  32. 12, NOT WS_GROUP
  33. EDITTEXT IDD_UPS_BLEDIT, 90, 155, 18, 12, ES_AUTOHSCROLL
  34. CONTROL "", IDD_UPS_BATTERYLIFE, "upsArrow", 0, 108, 155,
  35. 7, 12
  36. LTEXT "min", IDD_UPS_BLTEXT2, 117, 156, 12, 12, NOT WS_GROUP
  37. LTEXT "&Battery recharge time per minute of run time:",
  38. IDD_UPS_RPMTEXT1, 10, 173, 74, 17, NOT WS_GROUP
  39. EDITTEXT IDD_UPS_RPMEDIT, 90, 176, 18, 12, ES_AUTOHSCROLL
  40. CONTROL "", IDD_UPS_RECHARGEPERMINUTE, "upsArrow",0,
  41. 108, 176, 7, 12
  42. LTEXT "min", IDD_UPS_RPMTEXT2, 117, 177, 13, 10, NOT WS_GROUP
  43. GROUPBOX "UPS Service ", IDD_UPS_SERVICE, 137, 140, 144, 56
  44. LTEXT "&Time between power failure and initial warning message:",
  45. IDD_UPS_FWTEXT1, 143, 152, 94, 17, NOT WS_GROUP
  46. EDITTEXT IDD_UPS_FWEDIT, 238, 155, 18, 12, ES_AUTOHSCROLL
  47. CONTROL "", IDD_UPS_FIRSTWARNING, "upsArrow", 0, 256,
  48. 155, 7, 12
  49. LTEXT "sec", IDD_UPS_FWTEXT2, 265, 156, 13, 12, NOT WS_GROUP
  50. LTEXT "&Delay between warning messages:", IDD_UPS_WITEXT1, 143,
  51. 173, 77, 18, NOT WS_GROUP
  52. EDITTEXT IDD_UPS_WIEDIT, 238, 176, 18, 12, ES_AUTOHSCROLL
  53. CONTROL "", IDD_UPS_WARNINGINTERVAL, "upsArrow", 0, 256,
  54. 176, 7, 12
  55. LTEXT "sec", IDD_UPS_WITEXT2, 265, 177, 14, 14, NOT WS_GROUP
  56. DEFPUSHBUTTON "OK", UPS_INSTALLED, 236, 10, 45, 16
  57. PUSHBUTTON "Cancel", UPS_POWERFAILSIGNAL, 236, 30, 45, 16
  58. PUSHBUTTON "&Help", IDD_HELP, 236, 50, 45, 16
  59. LTEXT "2 minutes before shutdown", IDD_UPS_TEXT, 22, 76, 90, 11, NOT
  60. WS_GROUP
  61. LTEXT "UPS Interface Voltages:", IDD_UPS_SIGN, 128, 39, 79, 9, NOT
  62. WS_GROUP
  63. END