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.
295 lines
9.6 KiB
295 lines
9.6 KiB
//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\\MSQSCAN.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\\MSQSCAN.ico"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_MSQSCAN_DIALOG DIALOGEX 0, 0, 349, 282
|
|
STYLE DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION |
|
|
WS_SYSMENU
|
|
EXSTYLE WS_EX_APPWINDOW
|
|
CAPTION "Microsoft Quick Scan"
|
|
MENU IDR_MSQSCAN_MENU
|
|
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
|
BEGIN
|
|
DEFPUSHBUTTON "Preview",IDC_PREVIEW_BUTTON,196,241,46,14
|
|
PUSHBUTTON "Acquire",IDC_SCAN_BUTTON,246,241,46,14
|
|
COMBOBOX IDC_DATATYPE_COMBO,201,52,131,71,CBS_DROPDOWNLIST |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
COMBOBOX IDC_IMAGE_FILETYPE_COMBO,201,131,131,59,CBS_DROPDOWNLIST |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
CONTROL "Slider1",IDC_BRIGHTNESS_SLIDER,"msctls_trackbar32",
|
|
TBS_AUTOTICKS | WS_TABSTOP,201,160,131,19
|
|
CONTROL "Slider1",IDC_CONTRAST_SLIDER,"msctls_trackbar32",
|
|
TBS_AUTOTICKS | WS_TABSTOP,201,202,131,19
|
|
PUSHBUTTON "Close",IDCANCEL,296,241,46,14
|
|
CONTROL "",IDC_PREVIEW_WINDOW,"Static",SS_BLACKFRAME | NOT
|
|
WS_VISIBLE,6,4,188,271
|
|
LTEXT "Select a brightness setting",IDC_STATIC,201,150,133,8
|
|
LTEXT "Select an image file type",IDC_STATIC,201,119,134,8
|
|
LTEXT "Select a resolution setting",IDC_STATIC,201,76,134,8
|
|
LTEXT "Select a data type",IDC_STATIC,201,41,134,8
|
|
GROUPBOX "Scanner settings",IDC_STATIC,197,0,145,239
|
|
LTEXT "-127",IDC_MIN_BRIGHTNESS,203,182,15,8
|
|
LTEXT "+127",IDC_MAX_BRIGHTNESS,317,182,17,8
|
|
LTEXT "Select a contrast setting",IDC_STATIC,201,192,134,8
|
|
LTEXT "-127",IDC_MIN_CONTRAST,203,224,15,8
|
|
LTEXT "+127",IDC_MAX_CONTRAST,317,224,17,8
|
|
EDITTEXT IDC_EDIT_XRES,212,99,40,14,ES_AUTOHSCROLL | ES_NUMBER
|
|
EDITTEXT IDC_EDIT_YRES,281,99,40,14,ES_AUTOHSCROLL | ES_NUMBER
|
|
LTEXT "X ",IDC_STATIC,201,102,8,8
|
|
LTEXT "Y",IDC_STATIC,270,102,8,8
|
|
CONTROL "Spin1",IDC_EDIT_XRES_SPIN_BUDDY,"msctls_updown32",
|
|
UDS_SETBUDDYINT | UDS_ARROWKEYS,254,99,11,14
|
|
CONTROL "Spin1",IDC_EDIT_YRES_SPIN_BUDDY,"msctls_updown32",
|
|
UDS_SETBUDDYINT | UDS_ARROWKEYS,323,99,11,14
|
|
CONTROL "Edit Both Resolutions",IDC_CHANGE_BOTH_CHECKBOX,"Button",
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,201,87,133,10
|
|
CONTROL "Send acquired data to a file",IDC_DATA_TO_FILE,"Button",
|
|
BS_AUTORADIOBUTTON,201,16,111,10
|
|
CONTROL "Send acquired data to clipboard",IDC_DATA_TO_CLIPBOARD,
|
|
"Button",BS_AUTORADIOBUTTON,201,28,134,10
|
|
CONTROL 130,IDC_MSLOGO,"Static",SS_BITMAP | SS_CENTERIMAGE |
|
|
SS_REALSIZEIMAGE | SS_SUNKEN | WS_BORDER,274,259,68,16
|
|
ICON IDR_MAINFRAME,IDC_STATIC,315,6,21,20
|
|
PUSHBUTTON "ADF Settings",IDC_ADF_SETTINGS,196,261,75,14
|
|
END
|
|
|
|
IDD_PROGRESS_DIALOG DIALOG DISCARDABLE 0, 0, 216, 74
|
|
STYLE DS_MODALFRAME | DS_SETFOREGROUND | WS_POPUP | WS_CAPTION
|
|
CAPTION "Microsoft Quick Scan Progress. . ."
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
PUSHBUTTON "Cancel",IDC_CANCEL,80,54,50,14
|
|
CONTROL "Progress1",IDC_PROGRESS_CONTROL,"msctls_progress32",
|
|
WS_BORDER,7,36,202,11
|
|
CTEXT "Progress Text goes here",IDC_PROGRESS_TEXT,38,15,137,8
|
|
ICON IDR_MAINFRAME,IDC_STATIC,7,7,21,20
|
|
END
|
|
|
|
IDD_ADF_SETTING_DIALOG DIALOG DISCARDABLE 0, 0, 263, 113
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Automatic Document Feeder Settings"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK",IDOK,153,92,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,206,92,50,14
|
|
GROUPBOX "Settings",IDC_STATIC,7,7,249,83
|
|
LTEXT "Status:",IDC_STATIC,14,21,23,8
|
|
CTEXT "This scanner has no document feeder",
|
|
IDC_FEEDER_STATUS_TEXT,45,20,206,10,SS_SUNKEN
|
|
LTEXT "Mode:",IDC_STATIC,14,35,21,8
|
|
COMBOBOX IDC_ADF_MODE_COMBOBOX,45,33,205,55,CBS_DROPDOWNLIST |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
CONTROL "Scan all pages in the ADF",
|
|
IDC_SCAN_ALL_PAGES_RADIOBUTTON,"Button",
|
|
BS_AUTORADIOBUTTON,13,60,98,10
|
|
CONTROL "Scan a specified number of pages",
|
|
IDC_SCAN_SPECIFIED_PAGES_RADIOBUTTON,"Button",
|
|
BS_AUTORADIOBUTTON,13,74,123,10
|
|
EDITTEXT IDC_NUMBER_OF_PAGES_EDITBOX,143,72,106,14,ES_AUTOHSCROLL
|
|
END
|
|
|
|
|
|
#ifndef _MAC
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Version
|
|
//
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION 1,0,0,0
|
|
PRODUCTVERSION 1,0,0,0
|
|
FILEFLAGSMASK 0x3fL
|
|
#ifdef _DEBUG
|
|
FILEFLAGS 0x1L
|
|
#else
|
|
FILEFLAGS 0x0L
|
|
#endif
|
|
FILEOS 0x4L
|
|
FILETYPE 0x1L
|
|
FILESUBTYPE 0x0L
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904b0"
|
|
BEGIN
|
|
VALUE "Comments", "This is a Quick scanning application for WIA\0"
|
|
VALUE "CompanyName", "Microsoft\0"
|
|
VALUE "FileDescription", "MSQSCAN MFC Application\0"
|
|
VALUE "FileVersion", "1, 0, 0, 0\0"
|
|
VALUE "InternalName", "Microsoft QuickScan Ver 1.00a\0"
|
|
VALUE "LegalCopyright", "Copyright (C) 2000\0"
|
|
VALUE "LegalTrademarks", "Microsoft Corporation\0"
|
|
VALUE "OriginalFilename", "MSQSCAN.EXE\0"
|
|
VALUE "PrivateBuild", "\0"
|
|
VALUE "ProductName", "MSQSCAN Application\0"
|
|
VALUE "ProductVersion", "1, 0, 0, 0\0"
|
|
VALUE "SpecialBuild", "\0"
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x409, 1200
|
|
END
|
|
END
|
|
|
|
#endif // !_MAC
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO DISCARDABLE
|
|
BEGIN
|
|
IDD_MSQSCAN_DIALOG, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 6
|
|
RIGHTMARGIN, 342
|
|
BOTTOMMARGIN, 275
|
|
END
|
|
|
|
IDD_PROGRESS_DIALOG, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 209
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 67
|
|
END
|
|
|
|
IDD_ADF_SETTING_DIALOG, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 256
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 106
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Bitmap
|
|
//
|
|
|
|
IDB_MSLOGO_BITMAP BITMAP DISCARDABLE "res\\mslogo.bmp"
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_MYAPPLICATION_NAME "Microsoft QuickScan 1.0a"
|
|
END
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Menu
|
|
//
|
|
|
|
IDR_MSQSCAN_MENU MENU DISCARDABLE
|
|
BEGIN
|
|
POPUP "&File"
|
|
BEGIN
|
|
MENUITEM "&Select a New Device", ID_FILE_SELECT_DEVICE
|
|
MENUITEM "&Exit", ID_FILE_CLOSE
|
|
END
|
|
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\MSQSCAN.rc2" // non-Microsoft Visual C++ edited resources
|
|
#include "afxres.rc" // Standard components
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|