337 lines
9.8 KiB
Plaintext
337 lines
9.8 KiB
Plaintext
|
//Microsoft Developer Studio generated resource script.
|
||
|
//
|
||
|
#include "resource.h"
|
||
|
|
||
|
#define APSTUDIO_READONLY_SYMBOLS
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// Generated from the TEXTINCLUDE 2 resource.
|
||
|
//
|
||
|
#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
|
||
|
|
||
|
#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
|
||
|
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
|
||
|
"#define _AFX_NO_OLE_RESOURCES\r\n"
|
||
|
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
|
||
|
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
|
||
|
"\r\n"
|
||
|
"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
|
||
|
"#ifdef _WIN32\r\n"
|
||
|
"LANGUAGE 9, 1\r\n"
|
||
|
"#pragma code_page(1252)\r\n"
|
||
|
"#endif //_WIN32\r\n"
|
||
|
"#include ""res\\devctrl.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
|
||
|
"#include ""afxres.rc"" // Standard components\r\n"
|
||
|
"#endif\r\n"
|
||
|
"\0"
|
||
|
END
|
||
|
|
||
|
#endif // APSTUDIO_INVOKED
|
||
|
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// Icon
|
||
|
//
|
||
|
|
||
|
// Icon with lowest ID value placed first to ensure application icon
|
||
|
// remains consistent on all systems.
|
||
|
IDR_MAINFRAME ICON DISCARDABLE "res\\devctrl.ico"
|
||
|
IDR_MAINFRAME2 ICON DISCARDABLE "res\\devctrl2.ico"
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// Dialog
|
||
|
//
|
||
|
|
||
|
IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 194, 55
|
||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
|
CAPTION "About Flatbed Device Control"
|
||
|
//FONT 8, "MS Sans Serif"
|
||
|
FONT 8, "MS Shell Dlg"
|
||
|
BEGIN
|
||
|
ICON IDR_MAINFRAME,IDC_STATIC,11,16,21,20
|
||
|
LTEXT "Cooper's Flatbed Device Control TOOL",IDC_STATIC,44,21,
|
||
|
143,8,SS_NOPREFIX
|
||
|
DEFPUSHBUTTON "OK",IDOK,72,34,50,14,WS_GROUP
|
||
|
END
|
||
|
|
||
|
IDD_DEVCTRL_DIALOG DIALOGEX 0, 0, 231, 186
|
||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
||
|
EXSTYLE WS_EX_APPWINDOW
|
||
|
CAPTION "Flatbed Device Control"
|
||
|
//FONT 8, "MS Sans Serif", 0, 0, 0x1
|
||
|
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
||
|
BEGIN
|
||
|
LTEXT "CreateFileName",IDC_STATIC,7,7,51,8
|
||
|
EDITTEXT IDC_CREATE_FILENAME_EDITBOX,7,19,155,14,ES_AUTOHSCROLL
|
||
|
LTEXT "Select a device type to control",IDC_STATIC,7,37,97,8
|
||
|
COMBOBOX IDC_DEVICE_COMBO_BOX,7,49,156,55,CBS_DROPDOWNLIST |
|
||
|
WS_VSCROLL | WS_TABSTOP
|
||
|
LTEXT "data type",IDC_STATIC,7,65,30,8
|
||
|
COMBOBOX IDC_DATATYPE_COMBOBOX,7,77,128,57,CBS_DROPDOWNLIST |
|
||
|
WS_VSCROLL | WS_TABSTOP
|
||
|
LTEXT "x resolution",IDC_STATIC,7,93,36,8
|
||
|
EDITTEXT IDC_XRES_EDITBOX,7,105,40,14,ES_AUTOHSCROLL
|
||
|
LTEXT "y resolution",IDC_STATIC,62,93,36,8
|
||
|
EDITTEXT IDC_YRES_EDITBOX,62,105,40,14,ES_AUTOHSCROLL
|
||
|
LTEXT "x position",IDC_STATIC,7,123,30,8
|
||
|
EDITTEXT IDC_XPOS_EDITBOX,7,135,40,14,ES_AUTOHSCROLL
|
||
|
LTEXT "y position",IDC_STATIC,62,123,30,8
|
||
|
EDITTEXT IDC_YPOS_EDITBOX,62,135,40,14,ES_AUTOHSCROLL
|
||
|
LTEXT "x extent",IDC_STATIC,7,153,26,8
|
||
|
EDITTEXT IDC_XEXT_EDITBOX,7,165,40,14,ES_AUTOHSCROLL
|
||
|
LTEXT "y extent",IDC_STATIC,62,153,26,8
|
||
|
EDITTEXT IDC_YEXT_EDITBOX,62,165,40,14,ES_AUTOHSCROLL
|
||
|
DEFPUSHBUTTON "&Write Settings",IDC_WRITE_SETTINGS_BUTTON,174,100,50,
|
||
|
14
|
||
|
PUSHBUTTON "&Scan",IDC_SCAN_BUTTON,174,116,50,14
|
||
|
PUSHBUTTON "&Abort Scan",IDC_ABORT_SCAN_BUTTON,174,132,50,14
|
||
|
PUSHBUTTON "&Configure",IDC_CONFIGURE_BUTTON,174,148,50,14
|
||
|
PUSHBUTTON "Cl&ose",IDCANCEL,174,164,50,14
|
||
|
PUSHBUTTON "Create",IDC_CREATE_BUTTON,174,7,50,32,BS_ICON
|
||
|
END
|
||
|
|
||
|
IDD_CONFIGURE_DIALOG DIALOG DISCARDABLE 0, 0, 188, 175
|
||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
|
CAPTION "Configure"
|
||
|
//FONT 8, "MS Sans Serif"
|
||
|
FONT 8, "MS Shell Dlg"
|
||
|
BEGIN
|
||
|
DEFPUSHBUTTON "OK",IDOK,76,154,50,14
|
||
|
PUSHBUTTON "Cancel",IDCANCEL,131,154,50,14
|
||
|
ICON IDR_MAINFRAME,IDC_STATIC,7,7,21,20
|
||
|
LTEXT "Pipe 0 (default)",IDC_STATIC,7,34,48,8
|
||
|
EDITTEXT IDC_DEFAULT_PIPE_NAME_EDITBOX,65,31,116,14,
|
||
|
ES_AUTOHSCROLL
|
||
|
LTEXT "Pipe 1",IDC_STATIC,7,50,21,8
|
||
|
LTEXT "Pipe 2",IDC_STATIC,7,66,21,8
|
||
|
LTEXT "Pipe 3",IDC_STATIC,7,82,21,8
|
||
|
EDITTEXT IDC_PIPE1_NAME_EDITBOX,65,48,116,14,ES_AUTOHSCROLL
|
||
|
EDITTEXT IDC_PIPE2_NAME_EDITBOX,65,65,116,14,ES_AUTOHSCROLL
|
||
|
EDITTEXT IDC_PIPE3_NAME_EDITBOX,65,82,116,14,ES_AUTOHSCROLL
|
||
|
LTEXT "CreateFileName",IDC_STATIC,66,19,51,8
|
||
|
LTEXT "Assign pipe numbers:",IDC_STATIC,7,104,76,8
|
||
|
LTEXT "bulk out",IDC_STATIC,7,121,26,8
|
||
|
LTEXT "bulk in",IDC_STATIC,111,138,22,8
|
||
|
LTEXT "interrupt",IDC_STATIC,107,121,26,8
|
||
|
LTEXT "status",IDC_STATIC,7,138,20,8
|
||
|
COMBOBOX IDC_BULK_OUT_COMBOBOX,48,119,31,42,CBS_DROPDOWNLIST |
|
||
|
WS_VSCROLL | WS_TABSTOP
|
||
|
COMBOBOX IDC_STATUS_COMBOBOX,48,136,31,46,CBS_DROPDOWNLIST |
|
||
|
WS_VSCROLL | WS_TABSTOP
|
||
|
COMBOBOX IDC_INTERRUPT_COMBOBOX,150,119,31,49,CBS_DROPDOWNLIST |
|
||
|
WS_VSCROLL | WS_TABSTOP
|
||
|
COMBOBOX IDC_BULK_IN_COMBOBOX,150,136,31,50,CBS_DROPDOWNLIST |
|
||
|
WS_VSCROLL | WS_TABSTOP
|
||
|
END
|
||
|
|
||
|
|
||
|
#ifndef _MAC
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// Version
|
||
|
//
|
||
|
|
||
|
VS_VERSION_INFO VERSIONINFO
|
||
|
FILEVERSION 1,0,0,1
|
||
|
PRODUCTVERSION 1,0,0,1
|
||
|
FILEFLAGSMASK 0x3fL
|
||
|
#ifdef _DEBUG
|
||
|
FILEFLAGS 0x1L
|
||
|
#else
|
||
|
FILEFLAGS 0x0L
|
||
|
#endif
|
||
|
FILEOS 0x4L
|
||
|
FILETYPE 0x1L
|
||
|
FILESUBTYPE 0x0L
|
||
|
BEGIN
|
||
|
BLOCK "StringFileInfo"
|
||
|
BEGIN
|
||
|
BLOCK "040904B0"
|
||
|
BEGIN
|
||
|
VALUE "CompanyName", "\0"
|
||
|
VALUE "FileDescription", "devctrl MFC Application\0"
|
||
|
VALUE "FileVersion", "1, 0, 0, 1\0"
|
||
|
VALUE "InternalName", "devctrl\0"
|
||
|
VALUE "LegalCopyright", "Copyright (C) 2000\0"
|
||
|
VALUE "LegalTrademarks", "\0"
|
||
|
VALUE "OriginalFilename", "devctrl.EXE\0"
|
||
|
VALUE "ProductName", "devctrl Application\0"
|
||
|
VALUE "ProductVersion", "1, 0, 0, 1\0"
|
||
|
END
|
||
|
END
|
||
|
BLOCK "VarFileInfo"
|
||
|
BEGIN
|
||
|
VALUE "Translation", 0x409, 1200
|
||
|
END
|
||
|
END
|
||
|
|
||
|
#endif // !_MAC
|
||
|
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// DESIGNINFO
|
||
|
//
|
||
|
|
||
|
#ifdef APSTUDIO_INVOKED
|
||
|
GUIDELINES DESIGNINFO DISCARDABLE
|
||
|
BEGIN
|
||
|
IDD_ABOUTBOX, DIALOG
|
||
|
BEGIN
|
||
|
LEFTMARGIN, 7
|
||
|
RIGHTMARGIN, 187
|
||
|
TOPMARGIN, 7
|
||
|
BOTTOMMARGIN, 48
|
||
|
END
|
||
|
|
||
|
IDD_DEVCTRL_DIALOG, DIALOG
|
||
|
BEGIN
|
||
|
LEFTMARGIN, 7
|
||
|
RIGHTMARGIN, 224
|
||
|
TOPMARGIN, 7
|
||
|
BOTTOMMARGIN, 179
|
||
|
END
|
||
|
|
||
|
IDD_CONFIGURE_DIALOG, DIALOG
|
||
|
BEGIN
|
||
|
LEFTMARGIN, 7
|
||
|
RIGHTMARGIN, 181
|
||
|
TOPMARGIN, 7
|
||
|
BOTTOMMARGIN, 168
|
||
|
END
|
||
|
END
|
||
|
#endif // APSTUDIO_INVOKED
|
||
|
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// Dialog Info
|
||
|
//
|
||
|
|
||
|
IDD_DEVCTRL_DIALOG DLGINIT
|
||
|
BEGIN
|
||
|
IDC_DEVICE_COMBO_BOX, 0x403, 22, 0
|
||
|
0x5048, 0x5320, 0x6163, 0x6e6e, 0x7265, 0x2820, 0x4353, 0x204c, 0x6863,
|
||
|
0x7069, 0x0029,
|
||
|
IDC_DEVICE_COMBO_BOX, 0x403, 29, 0
|
||
|
0x6956, 0x6973, 0x6e6f, 0x6565, 0x2072, 0x6353, 0x6e61, 0x656e, 0x6c72,
|
||
|
0x2820, 0x3365, 0x6320, 0x6968, 0x2970, "\000"
|
||
|
IDC_DATATYPE_COMBOBOX, 0x403, 19, 0
|
||
|
0x4957, 0x5f41, 0x4144, 0x4154, 0x545f, 0x5248, 0x5345, 0x4f48, 0x444c,
|
||
|
"\000"
|
||
|
IDC_DATATYPE_COMBOBOX, 0x403, 19, 0
|
||
|
0x4957, 0x5f41, 0x4144, 0x4154, 0x475f, 0x4152, 0x5359, 0x4143, 0x454c,
|
||
|
"\000"
|
||
|
IDC_DATATYPE_COMBOBOX, 0x403, 15, 0
|
||
|
0x4957, 0x5f41, 0x4144, 0x4154, 0x435f, 0x4c4f, 0x524f, "\000"
|
||
|
0
|
||
|
END
|
||
|
|
||
|
IDD_CONFIGURE_DIALOG DLGINIT
|
||
|
BEGIN
|
||
|
IDC_BULK_OUT_COMBOBOX, 0x403, 2, 0
|
||
|
0x0030,
|
||
|
IDC_BULK_OUT_COMBOBOX, 0x403, 2, 0
|
||
|
0x0031,
|
||
|
IDC_BULK_OUT_COMBOBOX, 0x403, 2, 0
|
||
|
0x0032,
|
||
|
IDC_BULK_OUT_COMBOBOX, 0x403, 2, 0
|
||
|
0x0033,
|
||
|
IDC_STATUS_COMBOBOX, 0x403, 2, 0
|
||
|
0x0030,
|
||
|
IDC_STATUS_COMBOBOX, 0x403, 2, 0
|
||
|
0x0031,
|
||
|
IDC_STATUS_COMBOBOX, 0x403, 2, 0
|
||
|
0x0032,
|
||
|
IDC_STATUS_COMBOBOX, 0x403, 2, 0
|
||
|
0x0033,
|
||
|
IDC_INTERRUPT_COMBOBOX, 0x403, 2, 0
|
||
|
0x0030,
|
||
|
IDC_INTERRUPT_COMBOBOX, 0x403, 2, 0
|
||
|
0x0031,
|
||
|
IDC_INTERRUPT_COMBOBOX, 0x403, 2, 0
|
||
|
0x0032,
|
||
|
IDC_INTERRUPT_COMBOBOX, 0x403, 2, 0
|
||
|
0x0033,
|
||
|
IDC_BULK_IN_COMBOBOX, 0x403, 2, 0
|
||
|
0x0030,
|
||
|
IDC_BULK_IN_COMBOBOX, 0x403, 2, 0
|
||
|
0x0031,
|
||
|
IDC_BULK_IN_COMBOBOX, 0x403, 2, 0
|
||
|
0x0032,
|
||
|
IDC_BULK_IN_COMBOBOX, 0x403, 2, 0
|
||
|
0x0033,
|
||
|
0
|
||
|
END
|
||
|
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// String Table
|
||
|
//
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
IDS_ABOUTBOX "&About Flatbed Device Control Tool..."
|
||
|
END
|
||
|
|
||
|
#endif // English (U.S.) resources
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
|
||
|
|
||
|
#ifndef APSTUDIO_INVOKED
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// Generated from the TEXTINCLUDE 3 resource.
|
||
|
//
|
||
|
#define _AFX_NO_SPLITTER_RESOURCES
|
||
|
#define _AFX_NO_OLE_RESOURCES
|
||
|
#define _AFX_NO_TRACKER_RESOURCES
|
||
|
#define _AFX_NO_PROPERTY_RESOURCES
|
||
|
|
||
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
||
|
#ifdef _WIN32
|
||
|
LANGUAGE 9, 1
|
||
|
#pragma code_page(1252)
|
||
|
#endif //_WIN32
|
||
|
#include "res\devctrl.rc2" // non-Microsoft Visual C++ edited resources
|
||
|
#include "afxres.rc" // Standard components
|
||
|
#endif
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
#endif // not APSTUDIO_INVOKED
|
||
|
|