300 lines
7.8 KiB
Plaintext
300 lines
7.8 KiB
Plaintext
//Microsoft Developer Studio generated resource script.
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#include <windows.h>
|
|
#include "afxres.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// English (U.S.) resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
|
#ifdef _WIN32
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
#pragma code_page(1252)
|
|
#endif //_WIN32
|
|
|
|
#ifndef _MAC
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Version
|
|
//
|
|
|
|
#ifdef WIN95
|
|
|
|
#include <windows.h>
|
|
//#include <version.h>
|
|
#include "verinfo.h"
|
|
|
|
#define VERSIONNAME "dpmodemx.dll\0"
|
|
#ifdef DEBUG
|
|
#define VERSIONDESCRIPTION "Modem and Serial Connection For DirectPlay Debug\0"
|
|
#else
|
|
#define VERSIONDESCRIPTION "Modem and Serial Connection For DirectPlay\0"
|
|
#endif
|
|
#define VERSIONTYPE VFT_DLL
|
|
#define VERSIONSUBTYPE VFT2_UNKNOWN
|
|
|
|
#include "verinfo.ver"
|
|
|
|
#else // WinNT
|
|
|
|
|
|
#include <windows.h>
|
|
#include <ntverp.h>
|
|
|
|
#define VER_FILETYPE VFT_DLL
|
|
#define VER_FILESUBTYPE VFT2_UNKNOWN
|
|
#define VER_FILEDESCRIPTION_STR "Modem and Serial Connection For DirectPlay"
|
|
#define VER_INTERNALNAME_STR "dpmodemx.dll"
|
|
|
|
#include "common.ver"
|
|
|
|
#endif // WIN95 or NT
|
|
|
|
#endif // !_MAC
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_SETTINGSDIALOG DIALOG DISCARDABLE 0, 0, 209, 134
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Serial Connection"
|
|
#ifdef WIN95
|
|
FONT 8, "MS Sans Serif"
|
|
#else // WINNT
|
|
FONT 8, "MS Shell Dlg"
|
|
#endif
|
|
BEGIN
|
|
COMBOBOX IDC_COMPORT,31,24,40,63,CBS_DROPDOWNLIST | WS_VSCROLL |
|
|
WS_TABSTOP
|
|
COMBOBOX IDC_BAUDRATE,74,44,58,92,CBS_DROPDOWNLIST | WS_VSCROLL |
|
|
WS_TABSTOP
|
|
COMBOBOX IDC_STOPBITS,74,64,58,72,CBS_DROPDOWNLIST | WS_VSCROLL |
|
|
WS_TABSTOP
|
|
COMBOBOX IDC_PARITY,74,84,58,64,CBS_DROPDOWNLIST | WS_VSCROLL |
|
|
WS_TABSTOP
|
|
COMBOBOX IDC_FLOW,74,104,58,74,CBS_DROPDOWNLIST | WS_VSCROLL |
|
|
WS_TABSTOP
|
|
DEFPUSHBUTTON "OK",IDOK,152,7,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,152,24,50,14
|
|
GROUPBOX "Serial Port Settings",IDC_STATIC,7,7,137,120
|
|
LTEXT "Port",IDC_STATIC,13,25,18,8
|
|
LTEXT "Baud Rate",IDC_STATIC,31,46,35,8
|
|
LTEXT "Stop Bits",IDC_STATIC,31,66,35,8
|
|
LTEXT "Parity",IDC_STATIC,31,86,31,8
|
|
LTEXT "Flow Control",IDC_STATIC,31,106,38,8
|
|
END
|
|
|
|
IDD_MODEM_STATUS DIALOG DISCARDABLE 0, 0, 186, 46
|
|
STYLE DS_MODALFRAME | DS_SETFOREGROUND | WS_POPUP | WS_VISIBLE | WS_CAPTION |
|
|
WS_SYSMENU
|
|
CAPTION "Modem Status"
|
|
#ifdef WIN95
|
|
FONT 8, "MS Sans Serif"
|
|
#else // WINNT
|
|
FONT 8, "MS Shell Dlg"
|
|
#endif
|
|
BEGIN
|
|
PUSHBUTTON "Cancel",IDCANCEL,130,25,50,14
|
|
CTEXT "",IDC_STATUS,7,7,172,10,SS_SUNKEN
|
|
END
|
|
|
|
IDD_MODEM_DIAL DIALOG DISCARDABLE 0, 0, 212, 131
|
|
STYLE DS_MODALFRAME | DS_SETFOREGROUND | WS_POPUP | WS_VISIBLE | WS_CAPTION |
|
|
WS_SYSMENU
|
|
CAPTION "Modem Connection"
|
|
#ifdef WIN95
|
|
FONT 8, "MS Sans Serif"
|
|
#else // WINNT
|
|
FONT 8, "MS Shell Dlg"
|
|
#endif
|
|
BEGIN
|
|
EDITTEXT IDC_NUMBER,99,18,100,12,ES_AUTOHSCROLL
|
|
COMBOBOX IDC_MODEM,15,60,185,70,CBS_DROPDOWNLIST | WS_VSCROLL |
|
|
WS_TABSTOP
|
|
PUSHBUTTON "&Configure...",IDC_CONFIGUREMODEM,139,80,60,14
|
|
DEFPUSHBUTTON "Connect...",IDOK,100,110,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,155,110,50,14
|
|
GROUPBOX "Dialing",IDC_STATIC,7,5,199,34
|
|
ICON IDI_MODEM,IDC_STATIC,14,14,18,20
|
|
GROUPBOX "Modem",IDC_STATIC,7,47,199,55
|
|
LTEXT "Phone &number:",IDC_STATIC,43,19,50,8
|
|
END
|
|
|
|
IDD_MODEM_ANSWER DIALOG DISCARDABLE 0, 0, 212, 95
|
|
STYLE DS_MODALFRAME | DS_SETFOREGROUND | WS_POPUP | WS_VISIBLE | WS_CAPTION |
|
|
WS_SYSMENU
|
|
CAPTION "Modem Connection"
|
|
#ifdef WIN95
|
|
FONT 8, "MS Sans Serif"
|
|
#else // WINNT
|
|
FONT 8, "MS Shell Dlg"
|
|
#endif
|
|
BEGIN
|
|
GROUPBOX "Modem",IDC_STATIC,7,5,199,55
|
|
COMBOBOX IDC_MODEM,15,18,185,70,CBS_DROPDOWNLIST | WS_VSCROLL |
|
|
WS_TABSTOP
|
|
PUSHBUTTON "&Configure...",IDC_CONFIGUREMODEM,139,38,60,14
|
|
DEFPUSHBUTTON "Answer...",IDOK,100,75,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,155,75,50,14
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO DISCARDABLE
|
|
BEGIN
|
|
IDD_SETTINGSDIALOG, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 202
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 127
|
|
END
|
|
|
|
IDD_MODEM_STATUS, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 179
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 39
|
|
END
|
|
|
|
IDD_MODEM_DIAL, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 205
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 124
|
|
END
|
|
|
|
IDD_MODEM_ANSWER, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 205
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 88
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
1 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"resource.h\0"
|
|
END
|
|
|
|
2 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"#include ""afxres.h""\r\n"
|
|
"\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
IDI_MODEM ICON DISCARDABLE "modem.ico"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_COM1 "COM1"
|
|
IDS_COM2 "COM2"
|
|
IDS_COM3 "COM3"
|
|
IDS_COM4 "COM4"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_BAUD1 "110 baud"
|
|
IDS_BAUD2 "300 baud"
|
|
IDS_BAUD3 "600 baud"
|
|
IDS_BAUD4 "1200 baud"
|
|
IDS_BAUD5 "2400 baud"
|
|
IDS_BAUD6 "4800 baud"
|
|
IDS_BAUD7 "9600 baud"
|
|
IDS_BAUD8 "14400 baud"
|
|
IDS_BAUD9 "19200 baud"
|
|
IDS_BAUD10 "38400 baud"
|
|
IDS_BAUD11 "56000 baud"
|
|
IDS_BAUD12 "57600 baud"
|
|
IDS_BAUD13 "115200 baud"
|
|
IDS_BAUD14 "128000 baud"
|
|
IDS_BAUD15 "256000 baud"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_STOPBIT1 "1 bit"
|
|
IDS_STOPBIT2 "1.5 bits"
|
|
IDS_STOPBIT3 "2 bits"
|
|
IDS_PARITY1 "No Parity"
|
|
IDS_PARITY2 "Even Parity"
|
|
IDS_PARITY3 "Odd Parity"
|
|
IDS_PARITY4 "Mark Parity"
|
|
IDS_FLOW1 "None"
|
|
IDS_FLOW2 "Xon/Xoff"
|
|
IDS_FLOW3 "RTS"
|
|
IDS_FLOW4 "DTR"
|
|
IDS_FLOW5 "RTS/DTR"
|
|
IDS_COULDNOTOPENLINE "Error: Could not open line."
|
|
IDS_WAITINGFORCONNECTION "Waiting for connection..."
|
|
IDS_DIALING "Dialing ""%s""..."
|
|
IDS_COULDNOTDIAL "Error: Could not dial call."
|
|
END
|
|
|
|
#endif // English (U.S.) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|