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.

169 lines
7.6 KiB

  1. #include <windows.h>
  2. #include <ntverp.h>
  3. #include "awfaxab.rh"
  4. #include "awrc32.h"
  5. #define VER_FILETYPE VFT_APP
  6. #define VER_FILESUBTYPE VFT2_UNKNOWN
  7. #ifdef WIN95
  8. #define VER_FILEDESCRIPTION_STR "Windows 95 FAX Address Book Provider"
  9. #else
  10. #define VER_FILEDESCRIPTION_STR "Windows NT FAX Address Book Provider"
  11. #endif
  12. #define VER_INTERNALNAME_STR "faxab32.dll"
  13. #define VER_ORIGINALFILENAME_STR "faxab32.dll"
  14. #include "common.ver"
  15. MAWFRecipient DIALOG DISCARDABLE 0, 0, 270, 220
  16. STYLE DS_MODALFRAME | 4L | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  17. CAPTION "Address"
  18. FONT 8, "MS Shell Dlg"
  19. BEGIN
  20. LTEXT "&Fax recipient:",
  21. IDC_RECIP_DISPLAY_NAME_LABEL,11,15,99,10
  22. EDITTEXT IDC_RECIP_DISPLAY_NAME,111,13,140,13,ES_AUTOHSCROLL
  23. LTEXT "Co&untry:",
  24. IDC_RECIP_COUNTRY_CODE_LABEL,11,33,97,11
  25. COMBOBOX IDC_RECIP_COUNTRY_CODE,111,31,140,80,CBS_DROPDOWNLIST |
  26. CBS_SORT | WS_VSCROLL | WS_TABSTOP
  27. LTEXT "A&rea code and fax number: (",
  28. IDC_RECIP_FAX_NUMBER_LABEL,11,51,97,12
  29. EDITTEXT IDC_RECIP_FAX_NUMBER_AREA_CODE,111,49,28,13,
  30. ES_AUTOHSCROLL | ES_NUMBER | WS_GROUP
  31. LTEXT ")",IDC_RECIP_FAX_NUMBER_LABEL2,141,51,8,12
  32. EDITTEXT IDC_RECIP_FAX_NUMBER,151,49,100,13,ES_AUTOHSCROLL | WS_GROUP | ES_NUMBER
  33. END
  34. UserOptionsPage DIALOG 6, 18, 236, 159
  35. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  36. CAPTION "Options"
  37. FONT 8, "MS Shell Dlg"
  38. BEGIN
  39. CONTROL "Not yet implemented", -1, "Static", WS_GROUP, 7, 4, 80, 8
  40. END
  41. DirGeneralPage DIALOG 6, 18, 264, 100
  42. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  43. CAPTION "General"
  44. FONT 8, "MS Shell Dlg"
  45. BEGIN
  46. CONTROL "Fax Address Book Provider", -1, "Static",
  47. WS_GROUP, 12, 8, 134, 8
  48. CONTROL "The current Fax Address Book file is:", -1, "Static", WS_GROUP,
  49. 12, 30, 130, 8
  50. CONTROL "", IDC_DIR_FAB_FILE_NAME, "Edit", ES_AUTOHSCROLL |
  51. WS_BORDER | WS_TABSTOP, 12, 40, 170, 12
  52. CONTROL "&Change File ...", IDC_DIR_CHANGE, "Button", WS_TABSTOP, 190,
  53. 40, 60, 14
  54. CONTROL "Import", -1, "Button", BS_GROUPBOX, 12, 70,
  55. 244, 100
  56. CONTROL "&From file", -1, "Static", WS_GROUP,
  57. 20, 90, 45, 16
  58. CONTROL "", IDC_IMPORT_FROM_FILE, "Edit", ES_AUTOHSCROLL |
  59. WS_BORDER | WS_TABSTOP, 80, 90, 170, 12
  60. LTEXT "F&ile format: ",IDC_STATIC_CONTROL,20,105,45,16
  61. COMBOBOX IDC_IMPORT_FORMAT,80,105,100,40,CBS_DROPDOWNLIST |
  62. CBS_SORT | WS_VSCROLL | WS_TABSTOP
  63. CONTROL "&To file", -1, "Static", WS_GROUP,
  64. 20, 130, 45, 16
  65. CONTROL "", IDC_IMPORT_TO_FILE, "Edit", ES_AUTOHSCROLL |
  66. WS_BORDER | WS_TABSTOP, 80, 130, 170, 12
  67. CONTROL "&Import", IDC_IMPORT, "Button", WS_TABSTOP, 115,
  68. 150, 40, 14
  69. END
  70. SearchGeneralPage DIALOG 6, 23, 190, 99
  71. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  72. CAPTION "General"
  73. FONT 8, "MS Shell Dlg"
  74. BEGIN
  75. CONTROL "FAB ANR Search", -1, "Button", BS_GROUPBOX, 11, 10, 152,
  76. 47
  77. CONTROL "&Search for:", -1, "Static", WS_GROUP, 17, 26, 43, 8
  78. CONTROL "", IDC_SEARCH_NAME, "Edit", ES_AUTOHSCROLL | WS_BORDER |
  79. WS_TABSTOP, 17, 37, 142, 12
  80. END
  81. STRINGTABLE DISCARDABLE
  82. BEGIN
  83. IDS_MAWF_NAME "Fax Address"
  84. IDS_AWF_NAME "Fax"
  85. IDS_FAX_NAME "Fax"
  86. IDS_INFORMATION_MESSAGE "Information Message"
  87. IDS_WARNING_MESSAGE "Warning Message"
  88. IDS_CRITICAL_MESSAGE "Error Message"
  89. IDS_HELP_FILE_NAME "awfax.hlp"
  90. IDS_CPE_FILE_NAME "faxcover.exe"
  91. END
  92. STRINGTABLE DISCARDABLE
  93. BEGIN
  94. IDS_TAPI_LINE_NAME "Line %d"
  95. IDS_TAPI_ADDRESS_NAME "Address %d"
  96. IDS_TAPI_CC_UNKNOWN "Unknown"
  97. IDS_NONE "(None - Dial as Entered)"
  98. IDS_DEFAULT_COUNTRY_ID "1"
  99. IDS_DEV_NAMES "Efwfmpqnfou; Boez!Xbufst Csvdf!Lfmmfz Kptfqi!Kpz Lfo!Ipso Lfou!Tfuumf Lfwjo!Hbmmp Ljn!Tufccfot Sbkffw!Evkbsj Sboe!Sfogspf Tufwf!Cbslfuu Zpsbn!Zbbdpwj "
  100. IDS_QA_NAMES "RB; Cpc!Ifsopo Cpccz!Xboh Ebo!Tqju{mfz Ebwf!Sf{ptlj Ebwje!Dbsqfoufs Mfboo!Xzmjf Nfbe!Ijnfmtufjo Nbsuz!Tufjocfsh Qfufs![foh Spehfs!Ijmm Sptt!Xpmg Tdpuu!Dpvtfot Ubmffob!Mfoibseu Uifsftb!Evdifof Upoz!Ujoh Wffob!Hboeibn Wjoi!Mbn "
  101. IDS_PMBLD_NAMES "Qspevdu!Nbslfujoh; Ebwf!Qpmmpo Tv{bo!Gjof Qsphsbn!Nbobhfnfou; Kvtujo!Nbhbsbn Lvsu!Evmcfof Ufssj!Cspotpo Fjsjo!P(Dpoofmm Cvjme; Bouipoz!Spcjotpo Njudi!Tnjui Ifmq; Eboob!Lbu{nbo Kpzdf!Zbsspx "
  102. END
  103. STRINGTABLE DISCARDABLE
  104. BEGIN
  105. MAWF_W_NOT_IMPLEMENTED "This feature of Fax is not yet implemented."
  106. MAWF_W_MUST_SELECT_ITEM "You must first select an item from the list.\n"
  107. MAWF_W_RESBAD "A resource string was in an invalid format."
  108. MAWF_W_TAPI_REINIT "The Fax configuration could not start.\nQuit all other telephone-related programs, and then try again."
  109. MAWF_W_NO_MODEM "No local fax device was found.\n"
  110. MAWF_W_TAPI_LINE_CLOSE "A line device was closed. Please exit the Fax Configuration property sheet and restart.\n"
  111. MAWF_W_TAPI_LOC_NOT_FOUND
  112. "The telephony location stored in the profile was not found. The current location will be used."
  113. MAWF_W_MUST_BE_NUMBER "The value in this field must be numeric"
  114. END
  115. STRINGTABLE DISCARDABLE
  116. BEGIN
  117. MAWF_E_GENERIC "Error: "
  118. MAWF_E_MAPI_DLL_LOAD_FAIL "Problem in loading the MAPI DLL"
  119. MAWF_E_MAPI_LOGON_FAIL "There was an error when trying to logon into a MAPI Session"
  120. MAWF_E_MAPI_LOGOFF_FAIL "There was an error when trying to logoff from the MAPI Session"
  121. MAWF_E_NO_MEM "Fax could not allocate memory it needed. Some operations may not work as expected."
  122. MAWF_E_WRONG_WINDOWS_VERSION
  123. "The program you are using or one of its components is not supported by this version of Windows/NT. Try upgrading to a newer version of Windows/NT."
  124. MAWF_E_FILE_NOT_FOUND "A required file was not found."
  125. MAWF_E_UNKNOWN "Unknown problem"
  126. MAWF_E_TAPI_CONFIG_DLG "Problems in using the TAPI configuration dialog."
  127. MAWF_E_TAPI_LOC_CORRUPT "No location information is available.\nTry deleting TELEPHON.INI in your Windows directory and retry. If this doesn't work, call the Microsoft support line."
  128. MAWF_E_TAPI_CANT_INIT "Fax could not initialize the telephony manager (TAPI).\nThis sometimes happens if you have added or removed telephony devices while some TAPI applications were open.\nTry restarting your system."
  129. END
  130. STRINGTABLE DISCARDABLE
  131. BEGIN
  132. IDS_APP_NAME "Fax Address Book"
  133. IDS_ADDRESS_BOOK_ROOT_CONT "Fax Address Book"
  134. END
  135. // Error strings
  136. STRINGTABLE DISCARDABLE
  137. BEGIN
  138. ; Errors from OpenEntry
  139. IDS_OLD_EID "Old entryids are not supported"
  140. ; From opening the contents table
  141. IDS_CANT_OPEN_FAB "Unable to create contents table. Unable to open .FAB file."
  142. ; Opening the .FAB file
  143. IDS_CANT_OPEN_FAB_FILE "Unable to open .FAB file."
  144. IDS_FAB_FILE_ATTRIB "Unable to get info about .FAB file."
  145. IDS_FAB_TOO_LARGE ".FAB file is too large."
  146. IDS_FAB_CORRUPT ".FAB is corrupt. Partial record detected in file."
  147. IDS_FAB_NO_READ "Error reading .FAB file."
  148. END