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.

91 lines
3.8 KiB

  1. #include "windows.h"
  2. #include "resource.h"
  3. #include "country.rc"
  4. // /////////////////////////////////////////////////////////////////////////
  5. // /////////////////////////////////////////////////////////////////////////
  6. #if TAPI_NT
  7. #include <ntverp.h>
  8. #else
  9. #include <version.h>
  10. #endif
  11. #define VER_FILEDESCRIPTION_STR "Microsoft\256 Windows(TM) Telephony Server"
  12. #define VER_INTERNALNAME_STR "Telephony Service"
  13. #define VER_ORIGINALFILENAME_STR "TAPISRV.EXE"
  14. #define VER_LEGALCOPYRIGHT_YEARS "1994-1997"
  15. #define VER_FILETYPE VFT_APP
  16. #define VER_FILESUBTYPE VFT2_UNKNOWN
  17. #include <common.ver>
  18. // /////////////////////////////////////////////////////////////////////////
  19. // /////////////////////////////////////////////////////////////////////////
  20. IDI_LINE_ICON ICON DISCARDABLE "LINE.ICO"
  21. IDI_PHONE_ICON ICON DISCARDABLE "PHONE.ICO"
  22. #if 0
  23. #if (WINVER >= 0x400)
  24. IDD_DEFINE_LOCATION DIALOG DISCARDABLE 10, 10, 265, 217
  25. #else
  26. IDD_DEFINE_LOCATION DIALOG DISCARDABLE 10, 10, 265, 237
  27. #endif
  28. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU //| DS_3DLOOK
  29. CAPTION "My Locations"
  30. FONT 8, "MS Shell Dlg"
  31. BEGIN
  32. GROUPBOX "Where I am:",IDC_STATIC,7,7,250,74
  33. LTEXT "I am &dialing from:",IDCS_DL_CURR_LOCATION,15,20,56,10
  34. COMBOBOX IDCC_DL_CURR_LOCATION,76,19,83,50,CBS_DROPDOWN |
  35. CBS_SORT | WS_VSCROLL | WS_TABSTOP
  36. PUSHBUTTON "&New...",IDCB_DL_NEW_LOCATION,163,19,41,14
  37. PUSHBUTTON "&Remove",IDCB_DL_REMOVE_LOCATION,208,19,41,14
  38. LTEXT "The area &code is:",IDCS_DL_AREA_CODE,15,40,59,10
  39. EDITTEXT IDCE_DL_AREA_CODE,76,38,40,14,ES_AUTOHSCROLL
  40. LTEXT "",IDC_STATIC+1,120,40,56,10
  41. LTEXT "&I am in:",IDCS_DL_COUNTRY_CODE,15,59,51,10
  42. COMBOBOX IDCC_DL_COUNTRY_CODE,76,58,128,68,CBS_DROPDOWNLIST |
  43. CBS_SORT | WS_VSCROLL | WS_TABSTOP
  44. GROUPBOX "How I dial from this location:",IDC_STATIC+2,7,88,250,90
  45. LTEXT "To access an &outside line, 1st dial:",IDCS_DL_OUTSIDE,
  46. 15,104,114,10
  47. EDITTEXT IDCE_DL_LOCAL_CALLS,130,102,15,14,ES_AUTOHSCROLL | ES_UPPERCASE
  48. LTEXT "for local,",IDCS_DL_LOCAL_CALLS,147,104,30,10
  49. EDITTEXT IDCE_DL_LONG_DIST_CALLS,181,102,15,14,ES_AUTOHSCROLL | ES_UPPERCASE
  50. LTEXT "for long dist.",IDCS_DL_LONG_DIST_CALLS,198,104,55,10
  51. CONTROL "Dial &using Calling Card:",IDCK_DL_CALLING_CARD,"Button",
  52. BS_AUTOCHECKBOX | WS_TABSTOP,15,122,88,10
  53. /* removed to temporarily fix bug 1156; following "LTEXT" is replacement
  54. CONTROL "",IDCE_DL_CALLING_CARD,"Static",SS_LEFTNOWORDWRAP |
  55. SS_NOPREFIX | WS_DISABLED | WS_GROUP,104,120,98,14
  56. */
  57. LTEXT "",IDCE_DL_CALLING_CARD,104,123,98,12,SS_NOPREFIX | SS_LEFTNOWORDWRAP
  58. PUSHBUTTON "C&hange...",IDCB_DL_CHANGE_CARD,208,120,42,14
  59. CONTROL "This location has call &waiting. To disable it, dial:",
  60. IDCK_DL_CALL_WAITING,"Button",BS_AUTOCHECKBOX |
  61. WS_TABSTOP,15,141,168,10
  62. COMBOBOX IDCC_DL_CALL_WAITING,190,140,42,30,CBS_DROPDOWN |
  63. WS_VSCROLL | WS_TABSTOP
  64. LTEXT "The phone system at this location uses:",IDCS_PULSE,15,160,159,10
  65. RADIOBUTTON "&Tone dialing",IDCR_TONE,145,157,55,14,WS_GROUP
  66. RADIOBUTTON "&Pulse dialing",IDCR_PULSE,200,157,55,14
  67. LTEXT "Number to be dialed:",IDCS_DIAL_NUMBER_TEXT,15,184,70,10
  68. LTEXT "",IDCS_DL_DIAL_NUMBER,86,184,165,19,SS_NOPREFIX
  69. CONTROL "Dial as a &long distance call",IDCK_DL_IN_LOCAL,
  70. "Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,203,98,10
  71. #if (WINVER < 0x400)
  72. PUSHBUTTON "OK",IDOK,163,217,41,14
  73. PUSHBUTTON "Cancel",IDCANCEL,208,217,41,14
  74. #endif
  75. END
  76. #endif