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.

224 lines
9.7 KiB

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. faxqueue.rc
  5. Abstract:
  6. This module contains all resources for the fax queue viewer
  7. Environment:
  8. WIN32 User Mode
  9. Author:
  10. Wesley Witt (wesw) 16-Feb-1996
  11. Steven Kehrli (steveke) 30-oct-1998 - major rewrite
  12. --*/
  13. #include <windows.h>
  14. #include <commctrl.h>
  15. #include <ntverp.h>
  16. #include "resource.h"
  17. #define VER_FILETYPE VFT_APP
  18. #define VER_FILESUBTYPE VFT2_UNKNOWN
  19. #define VER_FILEDESCRIPTION_STR "Fax Queue Viewer"
  20. #define VER_INTERNALNAME_STR "faxqueue.exe"
  21. #define VER_ORIGINALFILENAME_STR "faxqueue.exe"
  22. #include <common.ver>
  23. IDI_FAXQUEUE_ICON ICON "faxqueue.ico"
  24. IDB_TOOLBAR BITMAP "toolbar.bmp"
  25. IDR_MENU MENU DISCARDABLE
  26. {
  27. POPUP "&Fax"
  28. {
  29. MENUITEM "Se&t As Default Printer", IDM_FAX_SET_AS_DEFAULT_PRINTER
  30. MENUITEM SEPARATOR
  31. MENUITEM "P&ause Faxing", IDM_FAX_PAUSE_FAXING
  32. MENUITEM "Cance&l All Faxes", IDM_FAX_CANCEL_ALL_FAXES
  33. MENUITEM SEPARATOR
  34. MENUITEM "S&haring", IDM_FAX_SHARING
  35. MENUITEM SEPARATOR
  36. MENUITEM "P&roperties", IDM_FAX_PROPERTIES
  37. MENUITEM SEPARATOR
  38. MENUITEM "&Close", IDM_FAX_CLOSE
  39. }
  40. POPUP "&Document"
  41. {
  42. MENUITEM "P&ause", IDM_DOCUMENT_PAUSE
  43. MENUITEM "R&esume", IDM_DOCUMENT_RESUME
  44. // MENUITEM "Re&start", IDM_DOCUMENT_RESTART
  45. MENUITEM SEPARATOR
  46. MENUITEM "&Cancel", IDM_DOCUMENT_CANCEL
  47. MENUITEM SEPARATOR
  48. MENUITEM "P&roperties", IDM_DOCUMENT_PROPERTIES
  49. }
  50. POPUP "&View"
  51. {
  52. #ifdef TOOLBAR_ENABLED
  53. MENUITEM "&Toolbar", IDM_VIEW_TOOLBAR
  54. #endif // TOOLBAR_ENABLED
  55. MENUITEM "&Status Bar", IDM_VIEW_STATUS_BAR
  56. MENUITEM "Re&fresh", IDM_VIEW_REFRESH
  57. }
  58. POPUP "&Help"
  59. {
  60. MENUITEM "&Help Topics", IDM_HELP_TOPICS
  61. MENUITEM SEPARATOR
  62. MENUITEM "&About", IDM_HELP_ABOUT
  63. }
  64. }
  65. IDR_ACCEL ACCELERATORS DISCARDABLE
  66. {
  67. VK_F1, IDM_HELP_TOPICS, VIRTKEY, NOINVERT
  68. VK_F5, IDM_VIEW_REFRESH, VIRTKEY, NOINVERT
  69. VK_DELETE, IDM_DOCUMENT_CANCEL, VIRTKEY, NOINVERT
  70. }
  71. IDB_TOOLBAR TOOLBAR DISCARDABLE 22, 24
  72. {
  73. // BUTTON IDM_FAX_PAUSE_FAXING
  74. // BUTTON IDM_FAX_CANCEL_ALL_FAXES
  75. BUTTON IDM_DOCUMENT_PAUSE
  76. BUTTON IDM_DOCUMENT_RESUME
  77. // BUTTON IDM_DOCUMENT_RESTART
  78. BUTTON IDM_DOCUMENT_CANCEL
  79. // BUTTON IDM_DOCUMENT_PROPERTIES
  80. BUTTON IDM_VIEW_REFRESH
  81. BUTTON IDM_HELP_TOPICS
  82. }
  83. IDD_SELECT_FAX_PRINTER DIALOG DISCARDABLE 0, 0, 115, 114
  84. STYLE WS_CAPTION | WS_VISIBLE | WS_DLGFRAME | WS_SYSMENU
  85. CAPTION "Fax Printers"
  86. FONT 8, "MS Shell Dlg"
  87. {
  88. LTEXT "Select a fax printer:", -1, 5, 5, 105, 8
  89. LISTBOX IDC_FAX_PRINTER_LIST, 5, 18, 105, 72, LBS_STANDARD | WS_HSCROLL | WS_VSCROLL | WS_TABSTOP
  90. DEFPUSHBUTTON "OK", IDOK, 5, 95, 50, 14
  91. PUSHBUTTON "Cancel", IDCANCEL, 60, 95, 50, 14
  92. }
  93. IDD_DOCUMENT_PROPERTIES DIALOG DISCARDABLE 0, 0, PROP_LG_CXDLG, PROP_LG_CYDLG
  94. STYLE WS_CAPTION | WS_VISIBLE | WS_DLGFRAME | WS_SYSMENU
  95. CAPTION "General"
  96. FONT 8, "MS Shell Dlg"
  97. {
  98. LTEXT "", IDC_FAX_DOCUMENTNAME, 5, 5, 242, 8, SS_NOPREFIX
  99. GROUPBOX "Recipient information", IDC_FAX_RECIPIENTINFO, 5, 18, 242, 39
  100. LTEXT "Name:", IDC_FAX_RECIPIENTNAME_TEXT, 10, 31, 75, 8
  101. LTEXT "", IDC_FAX_RECIPIENTNAME, 85, 31, 157, 8
  102. LTEXT "Fax number:", IDC_FAX_RECIPIENTNUMBER_TEXT, 10, 44, 75, 8
  103. LTEXT "", IDC_FAX_RECIPIENTNUMBER, 85, 44, 157, 8
  104. GROUPBOX "Sender information", IDC_FAX_SENDERINFO, 5, 62, 240, 65
  105. LTEXT "Name:", IDC_FAX_SENDERNAME_TEXT, 10, 75, 75, 8, SS_NOPREFIX
  106. LTEXT "", IDC_FAX_SENDERNAME, 85, 75, 157, 8, SS_NOPREFIX
  107. LTEXT "Company:", IDC_FAX_SENDERCOMPANY_TEXT, 10, 88, 75, 8, SS_NOPREFIX
  108. LTEXT "", IDC_FAX_SENDERCOMPANY, 85, 88, 157, 8, SS_NOPREFIX
  109. LTEXT "Department:", IDC_FAX_SENDERDEPT_TEXT, 10, 101, 75, 8, SS_NOPREFIX
  110. LTEXT "", IDC_FAX_SENDERDEPT, 85, 101, 157, 8, SS_NOPREFIX
  111. LTEXT "Billing code:", IDC_FAX_BILLINGCODE_TEXT, 10, 114, 75, 8, SS_NOPREFIX
  112. LTEXT "", IDC_FAX_BILLINGCODE, 85, 114, 157, 8, SS_NOPREFIX
  113. GROUPBOX "Fax information", IDC_FAX_FAXINFO, 5, 132, 240, 78
  114. LTEXT "Job type:", IDC_FAX_JOBTYPE_TEXT, 10, 145, 75, 8
  115. LTEXT "", IDC_FAX_JOBTYPE, 85, 145, 157, 8
  116. LTEXT "Status:", IDC_FAX_STATUS_TEXT, 10, 158, 75, 8
  117. LTEXT "", IDC_FAX_STATUS, 85, 158, 157, 8
  118. LTEXT "Page count:", IDC_FAX_PAGES_TEXT, 10, 171, 75, 8
  119. LTEXT "", IDC_FAX_PAGES, 85, 171, 157, 8
  120. LTEXT "Size:", IDC_FAX_SIZE_TEXT, 10, 184, 75, 8
  121. LTEXT "", IDC_FAX_SIZE, 85, 184, 157, 8
  122. LTEXT "Scheduled time:" IDC_FAX_SCHEDULEDTIME_TEXT, 10, 197, 75, 8
  123. LTEXT "", IDC_FAX_SCHEDULEDTIME, 85, 197, 157, 8
  124. }
  125. STRINGTABLE DISCARDABLE
  126. {
  127. IDS_FAXQUEUE_LOCAL_CAPTION, "Fax Queue"
  128. IDS_FAXQUEUE_REMOTE_CAPTION, "Fax Queue on %s"
  129. IDS_FAXQUEUE_NOT_CONNECTED, " (Not Connected)"
  130. IDS_FAXQUEUE_CONNECTING, " (Connecting...)"
  131. IDS_FAXQUEUE_REFRESHING, " (Refreshing...)"
  132. IDS_FAXQUEUE_PAUSED, " (Paused)"
  133. IDS_DOCUMENT_NAME_COLUMN, "Document Name"
  134. IDS_JOB_TYPE_COLUMN, "Job Type"
  135. IDS_STATUS_COLUMN, "Status"
  136. IDS_OWNER_COLUMN, "Owner"
  137. IDS_SIZE_COLUMN, "Size"
  138. IDS_PAGES_COLUMN, "Pages"
  139. IDS_SCHEDULED_TIME_COLUMN, "Scheduled Time"
  140. IDS_PORT_COLUMN, "Port"
  141. IDS_MENU_ITEM_FAX_PRINTERS, "&Fax Printers..."
  142. IDS_ERROR_CAPTION, "Fax Queue"
  143. IDS_ERROR_APP_FAILED_FORMAT, "Fax Queue cannot be displayed. The following error occured:\n%s"
  144. IDS_ERROR_APP_FAILED, "Fax Queue cannot be displayed. An unknown error occurred."
  145. IDS_ERROR_PRINTER_PROPERTIES, "Printer properties cannot be displayed. An unknown error occurred."
  146. IDS_NO_DOCUMENT_NAME, "No Document Name"
  147. IDS_QUEUE_STATUS_DELETING, " (Deleting)"
  148. IDS_QUEUE_STATUS_PAUSED, " (Paused)"
  149. IDS_QUEUE_STATUS_RETRYING, " (Retrying)"
  150. IDS_QUEUE_STATUS_RETRIES_EXCEEDED, "Maximum Retries Exceeded"
  151. IDS_JOB_TYPE_SEND, "Send"
  152. IDS_JOB_TYPE_RECEIVE, "Receive"
  153. IDS_JOB_TYPE_ROUTING, "Routing"
  154. IDS_JOB_TYPE_FAIL_RECEIVE, "Partially Received Fax"
  155. IDS_JOB_STATUS_DIALING, "Dialing: %s"
  156. IDS_JOB_STATUS_SENDING, "Sending"
  157. IDS_JOB_STATUS_RECEIVING, "Receiving"
  158. IDS_JOB_STATUS_COMPLETED, "Completed"
  159. IDS_JOB_STATUS_HANDLED, "Handled"
  160. IDS_JOB_STATUS_UNAVAILABLE, "Unavailable"
  161. IDS_JOB_STATUS_BUSY, "Busy"
  162. IDS_JOB_STATUS_NO_ANSWER, "No Answer"
  163. IDS_JOB_STATUS_BAD_ADDRESS, "Bad Address"
  164. IDS_JOB_STATUS_NO_DIAL_TONE, "No Dial Tone"
  165. IDS_JOB_STATUS_DISCONNECTED, "Disconnected"
  166. IDS_JOB_STATUS_FATAL_ERROR_SND, "Transmission Error"
  167. IDS_JOB_STATUS_FATAL_ERROR_RCV, "Reception Error"
  168. IDS_JOB_STATUS_NOT_FAX_CALL, "Not a Fax Call"
  169. IDS_JOB_STATUS_CALL_DELAYED, "Call Delayed"
  170. IDS_JOB_STATUS_CALL_BLACKLISTED, "Call Blacklisted"
  171. IDS_JOB_STATUS_INITIALIZING, "Initializing"
  172. IDS_JOB_STATUS_OFFLINE, "Offline"
  173. IDS_JOB_STATUS_RINGING, "Ringing"
  174. IDS_JOB_STATUS_AVAILABLE, "Available"
  175. IDS_JOB_STATUS_ABORTING, "Cancelled Fax Call"
  176. IDS_JOB_STATUS_ROUTING, "Routing"
  177. IDS_JOB_STATUS_ANSWERED, "Answered"
  178. IDS_JOB_SIZE_BYTES, "%s bytes"
  179. IDS_JOB_SIZE_KBYTES, "%s KB"
  180. IDS_JOB_SIZE_MBYTES, "%s MB"
  181. IDS_JOB_SIZE_GBYTES, "%s GB"
  182. IDS_JOB_SCHEDULED_TIME_NOW, "Now"
  183. }
  184. STRINGTABLE DISCARDABLE
  185. {
  186. IDS_MENU_FAX_SET_AS_DEFAULT_PRINTER, "Specifies that this fax printer is the default printer."
  187. IDS_MENU_FAX_PAUSE_FAXING, "Pauses faxing on this fax server."
  188. IDS_MENU_FAX_CANCEL_ALL_FAXES, "Cancels all fax documents on this fax server."
  189. IDS_MENU_FAX_SHARING, "Displays the sharing properties for this fax printer."
  190. IDS_MENU_FAX_PROPERTIES, "Displays the properties for this fax printer."
  191. IDS_MENU_FAX_CLOSE, "Closes the window."
  192. IDS_MENU_DOCUMENT_PAUSE, "Pauses the selected fax documents."
  193. IDS_MENU_DOCUMENT_RESUME, "Resumes the selected fax documents."
  194. IDS_MENU_DOCUMENT_RESTART, "Restarts the selected fax documents."
  195. IDS_MENU_DOCUMENT_CANCEL, "Cancels the selected fax documents."
  196. IDS_MENU_DOCUMENT_PROPERTIES, "Displays the properties of the selected fax document."
  197. IDS_MENU_VIEW_TOOLBAR, "Shows or hides the toolbar."
  198. IDS_MENU_VIEW_STATUS_BAR, "Shows or hides the status bar."
  199. IDS_MENU_VIEW_REFRESH, "Refreshes the item information."
  200. IDS_MENU_HELP_TOPICS, "Opens Help."
  201. IDS_MENU_HELP_ABOUT, "Displays program information, version number, and copyright."
  202. IDS_MENU_FAX_PRINTERS, "Displays all of the fax printers."
  203. }