Leaked source code of windows server 2003
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.
 
 
 
 
 
 

376 lines
18 KiB

/*++
Copyright (c) 1996 Microsoft Corporation
Module Name:
faxui.rc
Abstract:
Fax driver resource file
Environment:
Fax driver user interface
Revision History:
01/09/96 -davidx-
Created it.
mm/dd/yy -author-
description
--*/
#include <windows.h>
#include <hlpres.h>
#include "resource.h"
//
// Icons
//
IDI_UP ICON DISCARDABLE "res\\up.ico"
IDI_DOWN ICON DISCARDABLE "res\\down.ico"
IDI_STATUS ICON DISCARDABLE "res\\status.ico"
IDI_SEND ICON DISCARDABLE "res\\send.ico"
IDI_RECEIVE ICON DISCARDABLE "res\\receive.ico"
IDI_ARCHIVE ICON DISCARDABLE "res\\archive.ico"
IDI_DEVICE_INFO ICON DISCARDABLE "res\\deviceinfo.ico"
IDI_REMOTE ICON DISCARDABLE "res\\remote.ico"
IDI_FAX_ERROR ICON DISCARDABLE "res\\error.ico"
IDI_FAX_OPTIONS ICON DISCARDABLE "res\\faxopts.ico"
IDI_FAX_INFO ICON DISCARDABLE "res\\info.ico"
IDI_CLEANUP ICON DISCARDABLE "res\\cleanup.ico"
//
// Dialogs
//
IDD_DOCPROP DIALOGEX DISCARDABLE 0, 0, 252, 216
STYLE WS_CHILD | WS_VISIBLE | WS_CAPTION
CAPTION "Fax Preferences"
FONT 8, "MS Shell Dlg"
BEGIN
ICON IDI_FAX_OPTIONS,IDI_FAX_OPTIONS,6,8,21,20
LTEXT "",IDC_TITLE,41,12,188,11
LTEXT "Paper &size:",IDC_STATIC,6,49,100,8,SS_NOTIFY,0,HIDC_FP_PAPER
COMBOBOX IDC_PAPER_SIZE,110,48,128,52,CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP,0,HIDC_FP_PAPER
LTEXT "Image &quality:",IDC_STATIC,6,65,100,8,SS_NOTIFY,0,HIDC_FP_IMAGE
COMBOBOX IDC_IMAGE_QUALITY,110,64,128,52,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP,0,HIDC_FP_IMAGE
LTEXT "Orientation:",IDC_ORIENTATION,6,83,100,8,SS_NOTIFY,0,HIDC_FP_ORIENT
CONTROL "Po&rtrait",IDC_PORTRAIT,"Button",BS_AUTORADIOBUTTON,
110,83,55,10,0,HIDC_FP_PORTRAIT
CONTROL "&Landscape",IDC_LANDSCAPE,"Button",BS_AUTORADIOBUTTON,
170,83,60,10,0,HIDC_FP_LANDSCAPE
END
IDD_DEVICE_INFO DIALOGEX DISCARDABLE 0, 0, 252, 223
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Devices"
FONT 8, "MS Shell Dlg"
BEGIN
ICON IDI_DEVICE_INFO,IDC_STATIC_DEVICE_ICON,7,7,20,20
LTEXT "Specify fax device settings, to enable your computer to send and receive faxes.",
IDC_STATIC_DEVICE_INFO,38,7,207,25
LTEXT "Fax devices are set in priority order. The fax device with the highest priority is used first.",
IDC_STATIC_DEVICE,7,42,232,16
CONTROL "List1",IDC_DEVICE_LIST,"SysListView32",LVS_REPORT |
LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER |
WS_BORDER | WS_TABSTOP,7,64,217,50,0,HIDC_PFDevice_Details
PUSHBUTTON "Up",IDC_PRI_UP,229,71,18,17,BS_ICON
PUSHBUTTON "Down",IDC_PRI_DOWN,229,92,18,17,BS_ICON
GROUPBOX "",IDC_DEVICE_INFO_GRP,7,126,238,61
LTEXT "TSID:",IDC_STATIC_TSID,14,138,70,8,SS_NOTIFY,0,HIDC_PFDevice_TSID
EDITTEXT IDC_TSID,91,138,149,12,ES_AUTOHSCROLL | ES_READONLY |
NOT WS_BORDER | NOT WS_TABSTOP,0,HIDC_PFDevice_TSID
LTEXT "CSID: ",IDC_STATIC_CSID,14,153,70,8,SS_NOTIFY,0,HIDC_PFDevice_CSID
EDITTEXT IDC_CSID,91,153,149,12,ES_AUTOHSCROLL | ES_READONLY |
NOT WS_BORDER | NOT WS_TABSTOP,0,HIDC_PFDevice_CSID
LTEXT "Rings before answer: ",IDC_STATIC_RINGS,14,168,105,8,SS_NOTIFY,0,HIDC_PFDevice_Rings
EDITTEXT IDC_RINGS,125,169,28,12,ES_AUTOHSCROLL | ES_READONLY |
NOT WS_BORDER | NOT WS_TABSTOP,0,HIDC_PFDevice_Rings
PUSHBUTTON "&Properties...",IDC_DEVICE_PROP,167,167,58,13,
WS_DISABLED,0,HIDC_PFDevice_Prop
END
IDD_SEND_PROP DIALOGEX DISCARDABLE 0, 0, 252, 223
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Send"
FONT 8, "MS Shell Dlg"
BEGIN
ICON IDI_SEND,IDC_STATIC_SEND_ICON,7,7,20,20
LTEXT "Specify settings for sending faxes",
IDC_STATIC_SEND_OPTIONS,38,7,207,8
CONTROL "&Enable device to send",IDC_DEVICE_PROP_SEND,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,7,28,121,10,0,
HIDC_PFSend_Enable
LTEXT "&TSID:",IDC_STATIC_TSID,14,51,55,8,SS_NOTIFY,0,HIDC_PFSend_TSID
EDITTEXT IDC_DEVICE_PROP_TSID,74,49,157,14,ES_AUTOHSCROLL,0,HIDC_PFSend_TSID
LTEXT "The Transmitting Subscriber Identification (TSID) \
identifies you as a fax sender, and is transmitted by a device when you send a fax. \
The TSID usually consists of a fax number, and business name.",
IDC_STATIC_TSID1,14,67,228,41
CONTROL "&Include banner",IDC_BRANDING_CHECK,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,14,117,198,10,0,HIDC_PFSend_Banner
LTEXT "&Number of retries:",IDC_RETRIES_STATIC,14,138,93,10,
SS_NOTIFY,0,HIDC_PFSend_NumRetry
EDITTEXT IDC_RETRIES_EDIT,127,135,35,14,ES_RIGHT | ES_AUTOHSCROLL | WS_TABSTOP |
ES_NUMBER,0,HIDC_PFSend_NumRetry
CONTROL "Spin1",IDC_RETRIES_SPIN,"msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
UDS_ARROWKEYS,163,135,11,14
LTEXT "&Retry after:",IDC_OUTB_RETRYDELAY_STATIC,14,156,96,10,
SS_NOTIFY,0,HIDC_PFSend_RetryAfter
EDITTEXT IDC_RETRYDELAY_EDIT,127,153,35,14,ES_RIGHT | WS_TABSTOP |
ES_AUTOHSCROLL | ES_NUMBER,0,HIDC_PFSend_RetryAfter
CONTROL "Spin2",IDC_RETRYDELAY_SPIN,"msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
UDS_ARROWKEYS,163,153,11,14
LTEXT "minutes",IDC_OUTB_MINUTES_STATIC,167,157,50,10
LTEXT "Discount rate &start:",IDC_OUTB_DIS_START_STATIC,14,174,
94,10,SS_NOTIFY,0,HIDC_PFSend_DiscStart
CONTROL "DateTimePicker2",IDC_DISCOUNT_START_TIME,
"SysDateTimePick32",DTS_RIGHTALIGN | DTS_UPDOWN |
WS_TABSTOP | 0x8,127,171,65,14,0,HIDC_PFSend_DiscStart
LTEXT "Discount rate sto&p:",IDC_OUTB_DIS_STOP_STATIC,14,192,
94,10,SS_NOTIFY,0,HIDC_PFSend_DiscEnd
CONTROL "DateTimePicker2",IDC_DISCOUNT_STOP_TIME,
"SysDateTimePick32",DTS_RIGHTALIGN | DTS_UPDOWN |
WS_TABSTOP | 0x8,127,189,65,14,0,HIDC_PFSend_DiscEnd
END
IDD_RECEIVE_PROP DIALOGEX DISCARDABLE 0, 0, 252, 223
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Receive"
FONT 8, "MS Shell Dlg"
BEGIN
ICON IDI_RECEIVE,IDC_STATIC_RECEIVE_ICON,7,7,20,20
LTEXT "Specify settings for receiving faxes",
IDC_STATIC_RECEIVE_OPTIONS,38,7,207,8
CONTROL "Enable device to &receive",IDC_DEVICE_PROP_RECEIVE,
"Button",BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,7,28,
218,10,0,HIDC_PFRecv_Enable
LTEXT "The Called Subscriber Identification (CSID) identifies you as a fax recipient, \
and is transmitted by a device when you receive an incoming fax. \
The CSID usually consists of a fax number, and business name. ",
IDC_STATIC_CSID1,14,42,234,40,WS_DISABLED
LTEXT "&CSID:",IDC_STATIC_CSID,14,88,66,8, SS_NOTIFY |
WS_DISABLED,0,HIDC_PFRecv_CSID
EDITTEXT IDC_DEVICE_PROP_CSID,86,86,157,12,ES_AUTOHSCROLL |
WS_DISABLED,0,HIDC_PFRecv_CSID
LTEXT "When a fax is received:",IDC_STATIC_ROUTE,14,141,144,8,
WS_DISABLED
LTEXT "Answer mode:",IDCSTATIC_ANSWER_MODE,14,101,76,10,
WS_DISABLED
CONTROL "&Manual",IDC_DEVICE_PROP_MANUAL_ANSWER,"Button",
BS_AUTORADIOBUTTON | WS_DISABLED,21,112,98,10,0,
HIDC_PFRecv_Manual
CONTROL "A&utomatic after",IDC_DEVICE_PROP_AUTO_ANSWER,"Button",
BS_AUTORADIOBUTTON | WS_DISABLED,21,125,86,10,0,
HIDC_PFRecv_Auto
EDITTEXT IDC_DEVICE_PROP_RINGS,111,123,35,14,ES_RIGHT | WS_TABSTOP |
ES_AUTOHSCROLL | ES_NUMBER | WS_DISABLED,0,HIDC_PFRecv_NumRings
CONTROL "Spin1",IDC_DEVICE_PROP_SPIN_RINGS,"msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
UDS_ARROWKEYS | WS_DISABLED,147,124,11,12
LTEXT "rings",IDC_STATIC_RINGS1,151,126,40,8, SS_NOTIFY |
WS_DISABLED,0,HIDC_PFRecv_NumRings
CONTROL "&Print it on:",IDC_DEVICE_PROP_PRINT,"Button",
BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,21,154,67,13,
0,HIDC_PFRecv_Print
COMBOBOX IDC_DEVICE_PROP_PRINT_TO,89,154,154,51,CBS_DROPDOWN |
CBS_SORT | WS_DISABLED | WS_VSCROLL | WS_TABSTOP,0,HIDC_PFRecv_PrintLoc
CONTROL "Save a copy in &folder:",IDC_DEVICE_PROP_SAVE,"Button",
BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,21,171,106,10,
0,HIDC_PFRecv_Save
EDITTEXT IDC_DEVICE_PROP_DEST_FOLDER,129,171,100,12,
ES_AUTOHSCROLL | WS_DISABLED,0,HICD_PFRecv_SaveLoc
PUSHBUTTON "...",IDC_DEVICE_PROP_DEST_FOLDER_BR,232,171,11,12,
WS_DISABLED,0,HICD_PFRecv_Browse
ICON IDI_FAX_INFO,IDC_ICON_STORE_IN_FOLDER,11,188,20,20,
SS_REALSIZEIMAGE | WS_DISABLED
LTEXT "Successfully received faxes are stored in the Inbox archive of Fax Console. \
Choose this option to save an additional copy of the fax in the folder specified.",
IDC_STATIC_STORE_IN_FOLDER,38,185,212,38,WS_DISABLED
END
IDD_CLEANUP_PROP DIALOGEX 0, 0, 252, 223
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Cleanup"
FONT 8, "MS Shell Dlg"
BEGIN
ICON IDI_CLEANUP,IDC_STATIC_CLEANUP_ICON,7,7,20,20
LTEXT "Specify settings for automatic deletion of failed faxes",
IDC_STATIC_CLEANUP_OPTIONS,38,7,207,16
CONTROL "Automatically &delete failed faxes after",
IDC_DELETE_CHECK,"Button",BS_AUTOCHECKBOX | BS_MULTILINE |
WS_TABSTOP,7,28,169,10,0,HIDC_PFSend_Days_chk
EDITTEXT IDC_DAYS_EDIT,180,26,35,14,ES_AUTOHSCROLL | ES_NUMBER | WS_TABSTOP,
WS_EX_RIGHT,HIDC_PFSend_Days_edt
CONTROL "Spin3",IDC_DAYS_SPIN,"msctls_updown32",UDS_SETBUDDYINT |
UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,216,26,11,14
LTEXT "days",IDC_DAYS_STATIC,220,28,29,10,SS_NOTIFY,0,
HIDC_PFSend_Days_days
END
IDD_ARCHIVE_FOLDER DIALOGEX DISCARDABLE 0, 0, 252, 157
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Archives"
FONT 8, "MS Shell Dlg"
BEGIN
ICON IDI_ARCHIVE,IDC_STATIC_ARCHIVE_ICON,7,7,20,20
LTEXT "Configure fax archiving",IDC_STATIC_ARCHIVE_OPTIONS,38,
7,207,8
CONTROL "Archive all &incoming faxes in:",
IDC_INCOMING,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
WS_TABSTOP,14,35,227,10,0,HIDC_PFArch_Recv
EDITTEXT IDC_INCOMING_FOLDER,14,49,170,14,ES_AUTOHSCROLL |
WS_DISABLED,0,HIDC_PFArch_RecvLoc
PUSHBUTTON "&Browse...",IDC_INCOMING_FOLDER_BR,190,49,55,14,
WS_DISABLED,0,HIDC_PFArch_Browse
CONTROL "Archive all successfully &sent faxes in:",
IDC_OUTGOING,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
WS_TABSTOP,14,78,226,10,0,HIDC_PFArch_Sent
EDITTEXT IDC_OUTGOING_FOLDER,14,92,170,14,ES_AUTOHSCROLL |
WS_DISABLED,0,HIDC_PFArch_SentLoc
PUSHBUTTON "B&rowse...",IDC_OUTGOING_FOLDER_BR,190,92,55,14,
WS_DISABLED,0,HIDC_PFArch_Browse
END
IDD_REMOTE_INFO DIALOG DISCARDABLE 0, 0, 252, 186
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Remote"
FONT 8, "MS Shell Dlg"
BEGIN
ICON IDI_REMOTE,IDC_STATIC_REMOTE_ICON,7,7,20,20
LTEXT "Remote Fax",IDC_STATIC_REMOTE_PRINTER,38,7,207,8
LTEXT "You cannot modify configuration settings of a fax printer via a fax printer connection. \
Configuration changes must be made in the property pages of the shared fax printer.",
IDC_STATIC_REMOTE_INFO,38,33,211,32
END
IDD_STATUS_OPTIONS DIALOGEX DISCARDABLE 0, 0, 252, 223
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Tracking"
FONT 8, "MS Shell Dlg"
BEGIN
ICON IDI_STATUS,IDC_STATIC_STATUS_ICON,7,7,20,20
LTEXT "Fax can track and notify you of fax events.",
IDC_STATIC_STATUS_OPTIONS,41,10,203,24
LTEXT "Please select the &fax device to monitor",
IDC_STATIC_SELECT_MODEM,7,40,231,8,SS_NOTIFY,0,HIDC_PFTrack_Device
COMBOBOX IDC_COMBO_MODEM,7,52,236,100,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP,0,HIDC_PFTrack_Device
LTEXT "",IDC_STATIC_DEVICE_NOTE,32,68,214,18
ICON IDI_FAX_INFO,IDC_STATIC_NOTE_ICON,9,68,20,20,
SS_REALSIZEIMAGE
GROUPBOX "Notification Area",IDC_GROUP_NOTIFY,7,89,
236,52
CONTROL "Show &progress when faxes are sent or received",
IDC_CHECK_NOTIFY_PROGRESS,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,14,101,218,10,0,HIDC_PFTrack_Progress
CONTROL "Notify of success and failure for &incoming faxes",
IDC_CHECK_NOTIFY_IN_COMPLETE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,14,113,216,10,0,HIDC_PFTrack_In
CONTROL "Notify of success and failure for &outgoing faxes",
IDC_CHECK_NOTIFY_OUT_COMPLETE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,14,125,219,10,0,HIDC_PFTrack_Out
GROUPBOX "Fax Monitor",IDC_GROUP_MONITOR,7,145,236,50
LTEXT "Automatically open the Fax Monitor when a fax is being:",
IDC_STATIC_AUTO_OPEN,14,156,215,8
CONTROL "&Sent",IDC_CHECK_MONITOR_ON_SEND,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,14,168,221,10,0,HIDC_PRTrack_MonOut
CONTROL "&Received",IDC_CHECK_MONITOR_ON_RECEIVE,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,180,220,10,0,HIDC_PRTrack_MonIn
PUSHBUTTON "&Configure Sound Settings...",IDC_BUTTON_SOUND,7,200,
114,14,0,0,HIDC_PRTrack_ConfSound
END
IDD_SOUNDS DIALOGEX DISCARDABLE 0, 0, 254, 90
STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Sound Settings"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "Play a sound when the line &rings",IDC_CHECK_RING,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,9,240,8,0,HIDC_PFTrack_Sounds
CONTROL "Play a sound when a new fax is re&ceived",IDC_CHECK_RECEIVE,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,24,240,8,0,HIDC_PFTrack_Sounds
CONTROL "Play a sound when a fax is &sent",IDC_CHECK_SENT,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,11,39,240,8,0,HIDC_PFTrack_Sounds
CONTROL "Play a sound when a fax &error is detected",IDC_CHECK_ERROR,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11,54,240,8,0,HIDC_PFTrack_Sounds
DEFPUSHBUTTON "OK",IDOK,141,71,50,14,0,0,HIDOK
PUSHBUTTON "Cancel",IDCANCEL,199,71,50,14,0,0,HIDCANCEL
END
IDD_CONFIG_PROP DIALOG DISCARDABLE 0, 0, 266, 174
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Configuration"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "To configure Fax Service settings, use <A>Fax Service Manager</A>.",
IDC_CONFIG_FAX_LINK,"Link Window",WS_TABSTOP,37,8,209,36
ICON IDI_DEVICE_INFO,IDC_STATIC_DEVICE_ICON,8,7,20,20
END
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDR_SEND_RECEIVE MENU PRELOAD DISCARDABLE
BEGIN
POPUP "Mode"
BEGIN
POPUP "&Send"
BEGIN
MENUITEM "&Enable", IDM_SEND_ENABLE
MENUITEM "&Disable", IDM_SEND_DISABLE
END
POPUP "&Receive"
BEGIN
MENUITEM "&Auto", IDM_RECEIVE_AUTO
MENUITEM "&Manual", IDM_RECEIVE_MANUAL
MENUITEM "&Disable", IDM_RECEIVE_DISABLE
END
MENUITEM SEPARATOR
MENUITEM "&Properties", IDM_PROPERTY
END
END
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE
BEGIN
IDS_BROWSE_FOLDER "Please select a destination folder:"
IDS_SLOT_ONLYONE "Default"
IDS_DEVICE_NAME "Device Name"
IDS_SEND "Send"
IDS_RECEIVE "Receive"
IDS_NO_DEVICE_SELECTED "No device is selected"
IDS_DEVICE_ENABLED "Yes"
IDS_DEVICE_DISABLED "No"
IDS_DEVICE_AUTO_ANSWER "Auto"
IDS_DEVICE_MANUAL_ANSWER "Manual"
IDS_MSG_TITLE "Microsoft Fax"
IDS_BROADCAST_RECIPIENT "Broadcast"
IDS_QUALITY_NORMAL "Normal (200x200 dpi)"
IDS_QUALITY_DRAFT "Draft (200x100 dpi)"
IDS_NO_DEVICES "No fax devices are currently installed."
IDS_NOT_FAX_DEVICE "The selected device is not configured to send or receive."
IDS_SECURITY_TITLE "Fax Security"
IDS_REENTRANCY_TITLE "Send Fax Wizard"
IDS_REENTRANCY_TEXT "You cannot send this fax because a Send Fax Wizard is already open.\nComplete the Send Fax Wizard and then resend this fax. "
END