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

/*++
Copyright (c) 1998 Microsoft Corporation
Module Name:
faxqueue.rc
Abstract:
This module contains all resources for the fax queue viewer
Environment:
WIN32 User Mode
Author:
Wesley Witt (wesw) 16-Feb-1996
Steven Kehrli (steveke) 30-oct-1998 - major rewrite
--*/
#include <windows.h>
#include <commctrl.h>
#include <ntverp.h>
#include "resource.h"
#define VER_FILETYPE VFT_APP
#define VER_FILESUBTYPE VFT2_UNKNOWN
#define VER_FILEDESCRIPTION_STR "Fax Queue Viewer"
#define VER_INTERNALNAME_STR "faxqueue.exe"
#define VER_ORIGINALFILENAME_STR "faxqueue.exe"
#include <common.ver>
IDI_FAXQUEUE_ICON ICON "faxqueue.ico"
IDB_TOOLBAR BITMAP "toolbar.bmp"
IDR_MENU MENU DISCARDABLE
{
POPUP "&Fax"
{
MENUITEM "Se&t As Default Printer", IDM_FAX_SET_AS_DEFAULT_PRINTER
MENUITEM SEPARATOR
MENUITEM "P&ause Faxing", IDM_FAX_PAUSE_FAXING
MENUITEM "Cance&l All Faxes", IDM_FAX_CANCEL_ALL_FAXES
MENUITEM SEPARATOR
MENUITEM "S&haring", IDM_FAX_SHARING
MENUITEM SEPARATOR
MENUITEM "P&roperties", IDM_FAX_PROPERTIES
MENUITEM SEPARATOR
MENUITEM "&Close", IDM_FAX_CLOSE
}
POPUP "&Document"
{
MENUITEM "P&ause", IDM_DOCUMENT_PAUSE
MENUITEM "R&esume", IDM_DOCUMENT_RESUME
// MENUITEM "Re&start", IDM_DOCUMENT_RESTART
MENUITEM SEPARATOR
MENUITEM "&Cancel", IDM_DOCUMENT_CANCEL
MENUITEM SEPARATOR
MENUITEM "P&roperties", IDM_DOCUMENT_PROPERTIES
}
POPUP "&View"
{
#ifdef TOOLBAR_ENABLED
MENUITEM "&Toolbar", IDM_VIEW_TOOLBAR
#endif // TOOLBAR_ENABLED
MENUITEM "&Status Bar", IDM_VIEW_STATUS_BAR
MENUITEM "Re&fresh", IDM_VIEW_REFRESH
}
POPUP "&Help"
{
MENUITEM "&Help Topics", IDM_HELP_TOPICS
MENUITEM SEPARATOR
MENUITEM "&About", IDM_HELP_ABOUT
}
}
IDR_ACCEL ACCELERATORS DISCARDABLE
{
VK_F1, IDM_HELP_TOPICS, VIRTKEY, NOINVERT
VK_F5, IDM_VIEW_REFRESH, VIRTKEY, NOINVERT
VK_DELETE, IDM_DOCUMENT_CANCEL, VIRTKEY, NOINVERT
}
IDB_TOOLBAR TOOLBAR DISCARDABLE 22, 24
{
// BUTTON IDM_FAX_PAUSE_FAXING
// BUTTON IDM_FAX_CANCEL_ALL_FAXES
BUTTON IDM_DOCUMENT_PAUSE
BUTTON IDM_DOCUMENT_RESUME
// BUTTON IDM_DOCUMENT_RESTART
BUTTON IDM_DOCUMENT_CANCEL
// BUTTON IDM_DOCUMENT_PROPERTIES
BUTTON IDM_VIEW_REFRESH
BUTTON IDM_HELP_TOPICS
}
IDD_SELECT_FAX_PRINTER DIALOG DISCARDABLE 0, 0, 115, 114
STYLE WS_CAPTION | WS_VISIBLE | WS_DLGFRAME | WS_SYSMENU
CAPTION "Fax Printers"
FONT 8, "MS Shell Dlg"
{
LTEXT "Select a fax printer:", -1, 5, 5, 105, 8
LISTBOX IDC_FAX_PRINTER_LIST, 5, 18, 105, 72, LBS_STANDARD | WS_HSCROLL | WS_VSCROLL | WS_TABSTOP
DEFPUSHBUTTON "OK", IDOK, 5, 95, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 60, 95, 50, 14
}
IDD_DOCUMENT_PROPERTIES DIALOG DISCARDABLE 0, 0, PROP_LG_CXDLG, PROP_LG_CYDLG
STYLE WS_CAPTION | WS_VISIBLE | WS_DLGFRAME | WS_SYSMENU
CAPTION "General"
FONT 8, "MS Shell Dlg"
{
LTEXT "", IDC_FAX_DOCUMENTNAME, 5, 5, 242, 8, SS_NOPREFIX
GROUPBOX "Recipient information", IDC_FAX_RECIPIENTINFO, 5, 18, 242, 39
LTEXT "Name:", IDC_FAX_RECIPIENTNAME_TEXT, 10, 31, 75, 8
LTEXT "", IDC_FAX_RECIPIENTNAME, 85, 31, 157, 8
LTEXT "Fax number:", IDC_FAX_RECIPIENTNUMBER_TEXT, 10, 44, 75, 8
LTEXT "", IDC_FAX_RECIPIENTNUMBER, 85, 44, 157, 8
GROUPBOX "Sender information", IDC_FAX_SENDERINFO, 5, 62, 240, 65
LTEXT "Name:", IDC_FAX_SENDERNAME_TEXT, 10, 75, 75, 8, SS_NOPREFIX
LTEXT "", IDC_FAX_SENDERNAME, 85, 75, 157, 8, SS_NOPREFIX
LTEXT "Company:", IDC_FAX_SENDERCOMPANY_TEXT, 10, 88, 75, 8, SS_NOPREFIX
LTEXT "", IDC_FAX_SENDERCOMPANY, 85, 88, 157, 8, SS_NOPREFIX
LTEXT "Department:", IDC_FAX_SENDERDEPT_TEXT, 10, 101, 75, 8, SS_NOPREFIX
LTEXT "", IDC_FAX_SENDERDEPT, 85, 101, 157, 8, SS_NOPREFIX
LTEXT "Billing code:", IDC_FAX_BILLINGCODE_TEXT, 10, 114, 75, 8, SS_NOPREFIX
LTEXT "", IDC_FAX_BILLINGCODE, 85, 114, 157, 8, SS_NOPREFIX
GROUPBOX "Fax information", IDC_FAX_FAXINFO, 5, 132, 240, 78
LTEXT "Job type:", IDC_FAX_JOBTYPE_TEXT, 10, 145, 75, 8
LTEXT "", IDC_FAX_JOBTYPE, 85, 145, 157, 8
LTEXT "Status:", IDC_FAX_STATUS_TEXT, 10, 158, 75, 8
LTEXT "", IDC_FAX_STATUS, 85, 158, 157, 8
LTEXT "Page count:", IDC_FAX_PAGES_TEXT, 10, 171, 75, 8
LTEXT "", IDC_FAX_PAGES, 85, 171, 157, 8
LTEXT "Size:", IDC_FAX_SIZE_TEXT, 10, 184, 75, 8
LTEXT "", IDC_FAX_SIZE, 85, 184, 157, 8
LTEXT "Scheduled time:" IDC_FAX_SCHEDULEDTIME_TEXT, 10, 197, 75, 8
LTEXT "", IDC_FAX_SCHEDULEDTIME, 85, 197, 157, 8
}
STRINGTABLE DISCARDABLE
{
IDS_FAXQUEUE_LOCAL_CAPTION, "Fax Queue"
IDS_FAXQUEUE_REMOTE_CAPTION, "Fax Queue on %s"
IDS_FAXQUEUE_NOT_CONNECTED, " (Not Connected)"
IDS_FAXQUEUE_CONNECTING, " (Connecting...)"
IDS_FAXQUEUE_REFRESHING, " (Refreshing...)"
IDS_FAXQUEUE_PAUSED, " (Paused)"
IDS_DOCUMENT_NAME_COLUMN, "Document Name"
IDS_JOB_TYPE_COLUMN, "Job Type"
IDS_STATUS_COLUMN, "Status"
IDS_OWNER_COLUMN, "Owner"
IDS_SIZE_COLUMN, "Size"
IDS_PAGES_COLUMN, "Pages"
IDS_SCHEDULED_TIME_COLUMN, "Scheduled Time"
IDS_PORT_COLUMN, "Port"
IDS_MENU_ITEM_FAX_PRINTERS, "&Fax Printers..."
IDS_ERROR_CAPTION, "Fax Queue"
IDS_ERROR_APP_FAILED_FORMAT, "Fax Queue cannot be displayed. The following error occured:\n%s"
IDS_ERROR_APP_FAILED, "Fax Queue cannot be displayed. An unknown error occurred."
IDS_ERROR_PRINTER_PROPERTIES, "Printer properties cannot be displayed. An unknown error occurred."
IDS_NO_DOCUMENT_NAME, "No Document Name"
IDS_QUEUE_STATUS_DELETING, " (Deleting)"
IDS_QUEUE_STATUS_PAUSED, " (Paused)"
IDS_QUEUE_STATUS_RETRYING, " (Retrying)"
IDS_QUEUE_STATUS_RETRIES_EXCEEDED, "Maximum Retries Exceeded"
IDS_JOB_TYPE_SEND, "Send"
IDS_JOB_TYPE_RECEIVE, "Receive"
IDS_JOB_TYPE_ROUTING, "Routing"
IDS_JOB_TYPE_FAIL_RECEIVE, "Partially Received Fax"
IDS_JOB_STATUS_DIALING, "Dialing: %s"
IDS_JOB_STATUS_SENDING, "Sending"
IDS_JOB_STATUS_RECEIVING, "Receiving"
IDS_JOB_STATUS_COMPLETED, "Completed"
IDS_JOB_STATUS_HANDLED, "Handled"
IDS_JOB_STATUS_UNAVAILABLE, "Unavailable"
IDS_JOB_STATUS_BUSY, "Busy"
IDS_JOB_STATUS_NO_ANSWER, "No Answer"
IDS_JOB_STATUS_BAD_ADDRESS, "Bad Address"
IDS_JOB_STATUS_NO_DIAL_TONE, "No Dial Tone"
IDS_JOB_STATUS_DISCONNECTED, "Disconnected"
IDS_JOB_STATUS_FATAL_ERROR_SND, "Transmission Error"
IDS_JOB_STATUS_FATAL_ERROR_RCV, "Reception Error"
IDS_JOB_STATUS_NOT_FAX_CALL, "Not a Fax Call"
IDS_JOB_STATUS_CALL_DELAYED, "Call Delayed"
IDS_JOB_STATUS_CALL_BLACKLISTED, "Call Blacklisted"
IDS_JOB_STATUS_INITIALIZING, "Initializing"
IDS_JOB_STATUS_OFFLINE, "Offline"
IDS_JOB_STATUS_RINGING, "Ringing"
IDS_JOB_STATUS_AVAILABLE, "Available"
IDS_JOB_STATUS_ABORTING, "Cancelled Fax Call"
IDS_JOB_STATUS_ROUTING, "Routing"
IDS_JOB_STATUS_ANSWERED, "Answered"
IDS_JOB_SIZE_BYTES, "%s bytes"
IDS_JOB_SIZE_KBYTES, "%s KB"
IDS_JOB_SIZE_MBYTES, "%s MB"
IDS_JOB_SIZE_GBYTES, "%s GB"
IDS_JOB_SCHEDULED_TIME_NOW, "Now"
}
STRINGTABLE DISCARDABLE
{
IDS_MENU_FAX_SET_AS_DEFAULT_PRINTER, "Specifies that this fax printer is the default printer."
IDS_MENU_FAX_PAUSE_FAXING, "Pauses faxing on this fax server."
IDS_MENU_FAX_CANCEL_ALL_FAXES, "Cancels all fax documents on this fax server."
IDS_MENU_FAX_SHARING, "Displays the sharing properties for this fax printer."
IDS_MENU_FAX_PROPERTIES, "Displays the properties for this fax printer."
IDS_MENU_FAX_CLOSE, "Closes the window."
IDS_MENU_DOCUMENT_PAUSE, "Pauses the selected fax documents."
IDS_MENU_DOCUMENT_RESUME, "Resumes the selected fax documents."
IDS_MENU_DOCUMENT_RESTART, "Restarts the selected fax documents."
IDS_MENU_DOCUMENT_CANCEL, "Cancels the selected fax documents."
IDS_MENU_DOCUMENT_PROPERTIES, "Displays the properties of the selected fax document."
IDS_MENU_VIEW_TOOLBAR, "Shows or hides the toolbar."
IDS_MENU_VIEW_STATUS_BAR, "Shows or hides the status bar."
IDS_MENU_VIEW_REFRESH, "Refreshes the item information."
IDS_MENU_HELP_TOPICS, "Opens Help."
IDS_MENU_HELP_ABOUT, "Displays program information, version number, and copyright."
IDS_MENU_FAX_PRINTERS, "Displays all of the fax printers."
}