107 lines
3.4 KiB
Plaintext
107 lines
3.4 KiB
Plaintext
|
#include "windows.h"
|
||
|
#include "commctrl.h"
|
||
|
#include "ntverp.h"
|
||
|
#include "resource.h"
|
||
|
|
||
|
// Dialog
|
||
|
|
||
|
IDD_FAXSTATUS DIALOG DISCARDABLE 0, 0, 212, 114
|
||
|
STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
|
CAPTION "Fax Monitor"
|
||
|
CLASS "MS_FAXSTAT"
|
||
|
FONT 8, "MS Shell Dlg"
|
||
|
BEGIN
|
||
|
DEFPUSHBUTTON "&End Fax Call",IDC_FAXEND,80,93,50,14,WS_TABSTOP
|
||
|
DEFPUSHBUTTON "&Details",IDC_DETAILS,155,93,50,14,WS_TABSTOP
|
||
|
CONTROL "Animate1",IDC_ANIMATE1,"SysAnimate32",ACS_CENTER |
|
||
|
ACS_TRANSPARENT | WS_TABSTOP,7,7,198,43
|
||
|
LTEXT "",IDC_STATUS,7,54,198,9
|
||
|
LTEXT "",IDC_STATICTIME,7,65,45,10
|
||
|
LTEXT "",IDC_TIME,57,65,148,10
|
||
|
LTEXT "",IDC_FROMTO,7,76,198,10
|
||
|
CONTROL "&Answer Next Call",IDC_ANSWER_NEXT_CALL,"Button",
|
||
|
BS_CHECKBOX | WS_TABSTOP,5,95,65,10
|
||
|
END
|
||
|
|
||
|
IDD_DETAILS DIALOG DISCARDABLE 0, 0, 187, 133
|
||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
|
CAPTION "Fax Details"
|
||
|
FONT 8, "MS Shell Dlg"
|
||
|
BEGIN
|
||
|
DEFPUSHBUTTON "Close",IDOK,68,112,50,14
|
||
|
CONTROL "List1",IDC_LIST1,"SysListView32",LVS_REPORT |
|
||
|
LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP,0,0,186,106
|
||
|
END
|
||
|
|
||
|
IDD_ANSWER DIALOG DISCARDABLE 0, 0, 186, 95
|
||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
|
CAPTION "Incoming Call"
|
||
|
FONT 8, "MS Shell Dlg"
|
||
|
BEGIN
|
||
|
DEFPUSHBUTTON "&Yes",IDYES,27,60,50,14
|
||
|
PUSHBUTTON "&No",IDNO,108,60,50,14
|
||
|
LTEXT "Answer Call?",IDC_ANSWER,57,29,70,9
|
||
|
END
|
||
|
|
||
|
// AVI
|
||
|
|
||
|
IDR_IDLE AVI DISCARDABLE "idle_blk.avi"
|
||
|
IDR_RECEIVE AVI DISCARDABLE "to_comp.avi"
|
||
|
IDR_SEND AVI DISCARDABLE "to_fax.avi"
|
||
|
|
||
|
// Icon
|
||
|
|
||
|
IDI_ICON1 ICON DISCARDABLE "faxing.ico"
|
||
|
|
||
|
// Accelerators
|
||
|
|
||
|
MyAccelerators ACCELERATORS
|
||
|
BEGIN
|
||
|
"a", IDC_ANSWER_NEXT_CALL,ALT
|
||
|
"e", IDC_FAXEND,ALT
|
||
|
"d", IDC_DETAILS,ALT
|
||
|
END
|
||
|
|
||
|
// String Table
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
IDS_DIALING "Dialing %s"
|
||
|
IDS_SENDING "Sending page %d"
|
||
|
IDS_RECEIVING "Receiving page %d"
|
||
|
IDS_COMPLETE "Complete"
|
||
|
IDS_BUSY "Busy"
|
||
|
IDS_NA "No Answer"
|
||
|
IDS_BADADDRESS "Bad Address"
|
||
|
IDS_NODIALTONE "No Dial Tone"
|
||
|
IDS_DISCONNECT "Disconnected"
|
||
|
IDS_FATAL "Fatal Error"
|
||
|
IDS_NOTFAX "Not a Fax Call"
|
||
|
IDS_CALLDELAYED "Call Delayed"
|
||
|
IDS_CALLBLACKLIST "Call Blacklisted"
|
||
|
IDS_RING "Ringing"
|
||
|
IDS_ABORTING "Cancelled Fax Call"
|
||
|
IDS_ROUTING "Routing Fax Call"
|
||
|
IDS_MODEMON "Modem powered on"
|
||
|
IDS_MODEMOFF "Modem powered off"
|
||
|
IDS_IDLE "Idle"
|
||
|
IDS_ETIME "Elapsed Time:"
|
||
|
IDS_FROM "From: "
|
||
|
IDS_TO "To: "
|
||
|
IDS_TIMELABEL "Time"
|
||
|
IDS_EVENTLABEL "Event"
|
||
|
IDS_ANSWERED "Answered"
|
||
|
IDS_SVCENDED "Microsoft Fax Service is Stopped"
|
||
|
IDS_SVCSTARTED "Microsoft Fax Service has Started"
|
||
|
END
|
||
|
|
||
|
#define VER_FILETYPE VFT_APP
|
||
|
#define VER_FILESUBTYPE VFT2_UNKNOWN
|
||
|
#define VER_FILEDESCRIPTION_STR "Windows NT FAX Service"
|
||
|
#define VER_INTERNALNAME_STR "faxsvc.exe"
|
||
|
#define VER_ORIGINALFILENAME_STR "faxsvc.exe"
|
||
|
|
||
|
#include "common.ver"
|
||
|
|
||
|
|