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.

176 lines
7.8 KiB

  1. #include <windows.h>
  2. #include <commctrl.h>
  3. #include <ntverp.h>
  4. #include <resource.h>
  5. #define VER_FILETYPE VFT_DLL
  6. #define VER_FILESUBTYPE VFT2_UNKNOWN
  7. #define VER_FILEDESCRIPTION_STR "Windows NT Fax Device Provider for NetCentric"
  8. #define VER_INTERNALNAME_STR "NetCentric.dll"
  9. #define VER_ORIGINALFILENAME_STR "NetCentric.dll"
  10. #include "common.ver"
  11. IDI_NETCENTRIC ICON "nc.ico"
  12. IDB_INET BITMAP "inet.bmp"
  13. IDB_WORLD BITMAP "world.bmp"
  14. IDB_INETWRLD BITMAP "inetwrld.bmp"
  15. IDB_CHECKSTATES BITMAP "chkboxs.bmp"
  16. STRINGTABLE
  17. BEGIN
  18. IDS_TITLE "NetCentric Internet Fax Configuration"
  19. IDS_WRN_TITLE "%s Warning"
  20. IDS_ERR_TITLE "%s Error"
  21. IDS_BAD_SERVER "The server name is invalid"
  22. IDS_BAD_ISP "The selected ISP is invalid"
  23. IDS_MISSING_INFO "All fields in the customer information wizard are required."
  24. IDS_MISSING_ACCNT "The account name and password fields are required."
  25. IDS_MISSING_BILLING "The billing fields are required."
  26. IDS_CC_AMEX "American Express"
  27. IDS_CC_DINERS "Diners Club"
  28. IDS_CC_DISCOVER "Discover"
  29. IDS_CC_MASTERCARD "Master Card"
  30. IDS_CC_VISA "Visa"
  31. END
  32. IDD_CONFIG DIALOG DISCARDABLE 0, 0, 252, 218
  33. STYLE WS_CHILD | WS_VISIBLE | WS_CAPTION
  34. CAPTION "NetCentric"
  35. FONT 8, "MS Shell Dlg"
  36. BEGIN
  37. ICON IDI_NETCENTRIC,-1,8,6,18,20
  38. LTEXT "NetCentric Internet Fax Configuration",IDC_STATIC,36,8,208,16
  39. LTEXT "Server:",IDC_STATIC,10,57,59,8
  40. EDITTEXT IDC_SERVER,75,55,130,14,ES_AUTOHSCROLL
  41. LTEXT "User Name:",IDC_STATIC,10,81,59,8
  42. EDITTEXT IDC_USERNAME,75,77,130,14,ES_AUTOHSCROLL
  43. LTEXT "Password:",IDC_STATIC,10,105,59,8
  44. EDITTEXT IDC_PASSWORD,75,99,130,14,ES_AUTOHSCROLL
  45. PUSHBUTTON "New Account...",IDC_NEW_ACCOUNT,10,130,70,14
  46. END
  47. IDD_SERVER_NAME_PAGE DIALOG DISCARDABLE 0, 0, WIZARD_WIDTH, WIZARD_HEIGTH
  48. STYLE WS_CHILD | WS_VISIBLE | WS_CAPTION
  49. FONT 8, "MS Shell Dlg"
  50. BEGIN
  51. CONTROL IDB_WORLD,IDC_WORLDBMP,"Static",SS_BITMAP | SS_CENTERIMAGE | SS_SUNKEN,0,0,80,140
  52. LTEXT "Please enter the name of the internet server that will be providing your internet fax connection.",
  53. IDC_STATIC,90,9,177,21
  54. LTEXT "Server Name:",IDC_STATIC,93,64,50,8
  55. EDITTEXT IDC_SERVER_NAME,145,61,115,14,ES_AUTOHSCROLL
  56. END
  57. IDD_ISP_PAGE DIALOG DISCARDABLE 0, 0, WIZARD_WIDTH, WIZARD_HEIGTH
  58. STYLE WS_CHILD | WS_VISIBLE | WS_CAPTION
  59. FONT 8, "MS Shell Dlg"
  60. BEGIN
  61. CONTROL IDB_INET,IDC_INETBMP,"Static",SS_BITMAP | SS_CENTERIMAGE | SS_SUNKEN,0,0,80,140
  62. LTEXT "Please select the desired Internet Service Provider.",
  63. IDC_STATIC,90,6,162,8
  64. CONTROL "List1",IDC_ISP_LIST,"SysListView32",LVS_REPORT |
  65. WS_BORDER | WS_TABSTOP,90,39,177,75
  66. END
  67. IDD_PLANS_PAGE DIALOG DISCARDABLE 0, 0, WIZARD_WIDTH, WIZARD_HEIGTH
  68. STYLE WS_CHILD | WS_VISIBLE | WS_CAPTION
  69. FONT 8, "MS Shell Dlg"
  70. BEGIN
  71. CONTROL IDB_INET,IDC_INETBMP,"Static",SS_BITMAP | SS_CENTERIMAGE | SS_SUNKEN,0,0,80,140
  72. LTEXT "Please select the desired account plan.",IDC_STATIC,90,
  73. 12,125,8
  74. CONTROL "List1",IDC_PLAN_LIST,"SysListView32",LVS_REPORT |
  75. WS_BORDER | WS_TABSTOP,90,39,177,75
  76. END
  77. IDD_INFO_PAGE DIALOG DISCARDABLE 0, 0, WIZARD_WIDTH, WIZARD_HEIGTH
  78. STYLE WS_CHILD | WS_VISIBLE | WS_CAPTION
  79. FONT 8, "MS Shell Dlg"
  80. BEGIN
  81. CONTROL IDB_INET,IDC_INETBMP,"Static",SS_BITMAP | SS_CENTERIMAGE | SS_SUNKEN,0,0,80,140
  82. LTEXT "Please enter you personal billing information.",
  83. IDC_STATIC,90,9,180,8
  84. LTEXT "First Name:",IDC_STATIC,90,43,40,8
  85. LTEXT "Last Name:",IDC_STATIC,90,61,40,8
  86. LTEXT "Address:",IDC_STATIC,90,78,36,8
  87. LTEXT "City/State:",IDC_STATIC,90,96,36,8
  88. LTEXT "Zip Code:",IDC_STATIC,90,112,32,8
  89. EDITTEXT IDC_FIRST_NAME,165,40,105,14,ES_AUTOHSCROLL
  90. EDITTEXT IDC_LAST_NAME,165,58,105,14,ES_AUTOHSCROLL
  91. EDITTEXT IDC_ADDRESS,165,75,105,14,ES_AUTOHSCROLL
  92. EDITTEXT IDC_CITY,165,93,69,14,ES_AUTOHSCROLL
  93. EDITTEXT IDC_STATE,241,92,29,14,ES_AUTOHSCROLL
  94. EDITTEXT IDC_ZIP,165,110,105,14,ES_AUTOHSCROLL
  95. END
  96. IDD_INFO2_PAGE DIALOG DISCARDABLE 0, 0, WIZARD_WIDTH, WIZARD_HEIGTH
  97. STYLE WS_CHILD | WS_VISIBLE | WS_CAPTION
  98. FONT 8, "MS Shell Dlg"
  99. BEGIN
  100. CONTROL IDB_INET,IDC_INETBMP,"Static",SS_BITMAP | SS_CENTERIMAGE | SS_SUNKEN,0,0,80,140
  101. LTEXT "Please enter you personal billing information.",
  102. IDC_STATIC,90,9,180,8
  103. LTEXT "E.Mail Address:",IDC_STATIC,90,42,55,8
  104. LTEXT "Phone Number:",IDC_STATIC,90,60,50,8
  105. LTEXT "(",IDC_STATIC,165,60,8,8
  106. LTEXT ")",IDC_STATIC,195,60,8,8
  107. EDITTEXT IDC_EMAIL,165,39,105,14,ES_AUTOHSCROLL
  108. EDITTEXT IDC_AREA_CODE,171,57,20,14,ES_AUTOHSCROLL
  109. EDITTEXT IDC_PHONE_NUMBER,207,57,63,14,ES_AUTOHSCROLL
  110. END
  111. IDD_ACCT_PAGE DIALOG DISCARDABLE 0, 0, WIZARD_WIDTH, WIZARD_HEIGTH
  112. STYLE WS_CHILD | WS_VISIBLE | WS_CAPTION
  113. FONT 8, "MS Shell Dlg"
  114. BEGIN
  115. CONTROL IDB_INET,IDC_INETBMP,"Static",SS_BITMAP | SS_CENTERIMAGE | SS_SUNKEN,0,0,80,140
  116. LTEXT "Please enter your desired account name and password.",
  117. IDC_STATIC,90,6,176,8
  118. LTEXT "Account Name:",IDC_STATIC,90,45,57,8
  119. LTEXT "Password:",IDC_STATIC,90,67,36,8
  120. EDITTEXT IDC_ACCOUNT_NAME,156,43,111,14,ES_AUTOHSCROLL
  121. EDITTEXT IDC_PASSWORD,156,64,111,14,ES_AUTOHSCROLL
  122. END
  123. IDD_BILLING_PAGE DIALOG DISCARDABLE 0, 0, WIZARD_WIDTH, WIZARD_HEIGTH
  124. STYLE WS_CHILD | WS_VISIBLE | WS_CAPTION
  125. FONT 8, "MS Shell Dlg"
  126. BEGIN
  127. CONTROL IDB_INET,IDC_INETBMP,"Static",SS_BITMAP | SS_CENTERIMAGE | SS_SUNKEN,0,0,80,140
  128. LTEXT "Please enter your credit card information required for account billing.",
  129. IDC_STATIC,90,3,171,21
  130. LTEXT "Credit Card Number:",IDC_STATIC,90,43,66,8
  131. LTEXT "Expiration Date:",IDC_STATIC,90,64,54,8
  132. LTEXT "/",IDC_STATIC,192,64,8,8
  133. LTEXT "Name on Credit Card:",IDC_STATIC,90,85,69,8
  134. LTEXT "Credit Card Type:",IDC_STATIC,90,108,57,8
  135. EDITTEXT IDC_CREDIT_CARD,159,40,111,14,ES_AUTOHSCROLL
  136. EDITTEXT IDC_EXPIRY_MM,159,61,27,14,ES_AUTOHSCROLL
  137. EDITTEXT IDC_EXPIRY_YY,204,61,27,14,ES_AUTOHSCROLL
  138. EDITTEXT IDC_CC_NAME,159,82,111,14,ES_AUTOHSCROLL
  139. COMBOBOX IDC_CC_LIST,159,103,111,51,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
  140. END
  141. IDD_CREATE_PAGE DIALOG DISCARDABLE 0, 0, WIZARD_WIDTH, WIZARD_HEIGTH
  142. STYLE WS_CHILD | WS_VISIBLE | WS_CAPTION
  143. FONT 8, "MS Shell Dlg"
  144. BEGIN
  145. CONTROL IDB_INETWRLD,IDC_INETWRLDBMP,"Static",SS_BITMAP | SS_CENTERIMAGE | SS_SUNKEN,0,0,80,140
  146. LTEXT "Your accont is ready to be created. Please click the Next button to start the creation of your account. This may talke several minutes.",
  147. IDC_STATIC,91,24,164,30
  148. LTEXT "If you need to correct any account information, click the Back button and go back to the page where the informatio",
  149. IDC_STATIC,90,63,168,30
  150. END
  151. IDD_FINISH_PAGE DIALOG DISCARDABLE 0, 0, WIZARD_WIDTH, WIZARD_HEIGTH
  152. STYLE WS_CHILD | WS_VISIBLE | WS_CAPTION
  153. FONT 8, "MS Shell Dlg"
  154. BEGIN
  155. CONTROL IDB_INETWRLD,IDC_INETWRLDBMP,"Static",SS_BITMAP | SS_CENTERIMAGE | SS_SUNKEN,0,0,80,140
  156. LTEXT "Your account is now created. Don't forget to write your account name and password down you will not forget it.",
  157. IDC_STATIC,93,15,153,33
  158. END