355 lines
13 KiB
Plaintext
355 lines
13 KiB
Plaintext
//Microsoft Developer Studio generated resource script.
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#include <winresrc.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
|
|
//
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION 5,0,1770,1
|
|
PRODUCTVERSION 5,0,1770,1
|
|
FILEFLAGSMASK 0x3fL
|
|
#ifdef _DEBUG
|
|
FILEFLAGS 0x1L
|
|
#else
|
|
FILEFLAGS 0x0L
|
|
#endif
|
|
FILEOS 0x40004L
|
|
FILETYPE 0x1L
|
|
FILESUBTYPE 0x0L
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904b0"
|
|
BEGIN
|
|
VALUE "Comments", "\0"
|
|
VALUE "CompanyName", "Microsoft Corporation\0"
|
|
VALUE "FileDescription", "Various Unit Tests\0"
|
|
VALUE "FileVersion", "5.00.1770.1\0"
|
|
VALUE "InternalName", "testacqd.exe\0"
|
|
VALUE "LegalCopyright", "Copyright (C) Microsoft Corp. 1981-1998\0"
|
|
VALUE "LegalTrademarks", "\0"
|
|
VALUE "OriginalFilename", "testacqd.exe\0"
|
|
VALUE "PrivateBuild", "\0"
|
|
VALUE "ProductName", "Microsoft(R) Windows NT(R) Operating System\0"
|
|
VALUE "ProductVersion", "5.00.1770.1\0"
|
|
VALUE "SpecialBuild", "\0"
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x409, 1200
|
|
END
|
|
END
|
|
|
|
#endif // !_MAC
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
IDI_TESTACQD ICON DISCARDABLE "testacqd.ico"
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
1 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"resource.h\0"
|
|
END
|
|
|
|
2 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"#include <winresrc.h>\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"#include ""mboxex.rc""\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Menu
|
|
//
|
|
|
|
IDR_TESTACQDMENU MENU DISCARDABLE
|
|
BEGIN
|
|
POPUP "I&WiaDevMgr"
|
|
BEGIN
|
|
MENUITEM "&1. IWiaDevMgr::SelectDeviceDlg && IWiaDevMgr::DeviceDlg",
|
|
ID_WIA_DEVICEDLG
|
|
MENUITEM "&2. IWiaDevMgr::SelectDeviceDlgID", ID_WIA_SELECTDEVICEID
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "E&xit\tAlt+F4", ID_PROGRAM_EXIT
|
|
END
|
|
POPUP "Wi&zards (etc.)"
|
|
BEGIN
|
|
MENUITEM "&1. NetPublishingWizard::RunNetPublishingWizard",
|
|
ID_WIZARD_PUBLISH_WIZARD
|
|
MENUITEM "&2. RunWiaWizard::RunWizard", ID_WIZARD_ACQUIRE_WIZARD
|
|
MENUITEM "&3. WiaUiUtil::ExploreWiaDevice",
|
|
ID_WIZARD_EXPLOREWIADEVICE
|
|
END
|
|
POPUP "C&GdiPlusHelper"
|
|
BEGIN
|
|
MENUITEM "&1. Rotate( pszInputFilename, pszOutputFilename, nRotationAngle, guidOutputFormat ) [non-JPEG]",
|
|
ID_GDI_ROTATEFILENONJPEG
|
|
MENUITEM "&2. Rotate( pszInputFilename, pszOutputFilename, nRotationAngle, guidOutputFormat ) [JPEG]",
|
|
ID_GDI_ROTATEFILEJPEG
|
|
MENUITEM "&3. Rotate( hSourceBitmap, hTargetBitmap, nRotation )",
|
|
ID_GDI_ROTATEHBITMAP
|
|
MENUITEM "&4. LoadAndScale( hTargetBitmap, pszFilename, nMaxWidth, nMaxHeight, bStretchSmallImages )",
|
|
ID_GDI_LOADANDSCALEIMAGE
|
|
MENUITEM "&5. LoadAndScale( hTargetBitmap, pStream, nMaxWidth, nMaxHeight, bStretchSmallImages )",
|
|
ID_GDI_LOADANDSCALESTREAM
|
|
MENUITEM "&6. Convert( pszInputFilename, pszOutputFilename, guidOutputFormat )",
|
|
ID_GDI_CONVERTFILE
|
|
MENUITEM "&7. ConstructDecoderExtensionSearchStrings( strExtensions )",
|
|
ID_GDI_DISPLAYDECODEREXTENSIONS
|
|
|
|
MENUITEM "&8. ConstructEncoderExtensionSearchStrings( strExtensions )",
|
|
ID_GDI_DISPLAYENCODEREXTENSIONS
|
|
|
|
MENUITEM "&9. SaveMultipleImagesAsMultiPage( Filenames, strFilename, guidOutputFormat )",
|
|
ID_GDI_SAVEMULTIPLEIMAGESASMULTIPAGE
|
|
|
|
MENUITEM "1&0. SetContrast( hSrcBitmap, hTgtBitmap, nContrast )\tLeft and Right Arrows",
|
|
ID_GDI_SETCONTRAST
|
|
MENUITEM "11. Set&Brightness( hSrcBitmap, hTgtBitmap, nBrightness )\tUp and Down Arrows",
|
|
ID_GDI_SETBRIGHTNESS
|
|
MENUITEM "12. &SetThreshold( hSrcBitmap, hTgtBitmap, nThreshold )\tPage Up and Page Down",
|
|
ID_GDI_SETTHRESHOLD
|
|
END
|
|
POPUP "C&MessageBoxEx"
|
|
BEGIN
|
|
MENUITEM "&1. MessageBox( hWndParent, pszMessage, pszTitle, nFlags, bHideFutureMessages )",
|
|
ID_MBOX_FORM1
|
|
MENUITEM "&2. MessageBox( hWndParent, pszMessage, pszTitle, nFlags )",
|
|
ID_MBOX_FORM2
|
|
MENUITEM "&3. MessageBox( pszMessage, pszTitle, nFlags )",
|
|
ID_MBOX_FORM3
|
|
MENUITEM "&4. MessageBox( hWndParent, hInstance, nMessageId, nTitleId, nFlags, bHideFutureMessages )",
|
|
ID_MBOX_FORM4
|
|
MENUITEM "&5. MessageBox( hWndParent, pszTitle, nFlags, pszFormat, ... )",
|
|
ID_MBOX_FORM5
|
|
MENUITEM "&6. MessageBox( hWndParent, pszTitle, nFlags, bHideFutureMessages, pszFormat, ... )",
|
|
ID_MBOX_FORM6
|
|
MENUITEM "&7. MessageBox( hWndParent, hInstance, nTitleId, nFlags, nFormatId, ... )",
|
|
ID_MBOX_FORM7
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&8. Set CMessageBoxEx flags", ID_MBOX_SETFLAGS
|
|
END
|
|
POPUP "IWia&ProgressDialog"
|
|
BEGIN
|
|
MENUITEM "&1. Progress dialog", ID_PROGRESS_TESTPROGRESS
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&2. Set Progress dialog flags", ID_PROGRESS_SETFLAGS
|
|
END
|
|
POPUP "&Universal PNP"
|
|
BEGIN
|
|
MENUITEM "&1. Find server and register callback",
|
|
ID_UPNP_FINDSERVERANDREGISTER
|
|
|
|
MENUITEM "&2. Unregister callback", ID_UPNP_STOP
|
|
END
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Accelerator
|
|
//
|
|
|
|
IDR_TESTACQDACCEL ACCELERATORS DISCARDABLE
|
|
BEGIN
|
|
"A", ID_WIA_DEVICEDLG, VIRTKEY, CONTROL, NOINVERT
|
|
"F", ID_PROGRESS_SETFLAGS, VIRTKEY, CONTROL, NOINVERT
|
|
"I", ID_WIA_SELECTDEVICEID, VIRTKEY, CONTROL, NOINVERT
|
|
"P", ID_PROGRESS_TESTPROGRESS, VIRTKEY, CONTROL, NOINVERT
|
|
"Q", ID_WIZARD_ACQUIRE_WIZARD, VIRTKEY, CONTROL, NOINVERT
|
|
"S", ID_WIA_SELECTDEVICEID, VIRTKEY, CONTROL, NOINVERT
|
|
VK_DOWN, ID_GDI_DECREASEBRIGHTNESS, VIRTKEY, NOINVERT
|
|
VK_LEFT, ID_GDI_DECREASECONTRAST, VIRTKEY, NOINVERT
|
|
VK_NEXT, ID_GDI_DECREASETHRESHOLD, VIRTKEY, NOINVERT
|
|
VK_PRIOR, ID_GDI_INCREASETHRESHOLD, VIRTKEY, NOINVERT
|
|
VK_RIGHT, ID_GDI_INCREASECONTRAST, VIRTKEY, NOINVERT
|
|
VK_UP, ID_GDI_INCREASEBRIGHTNESS, VIRTKEY, NOINVERT
|
|
"W", ID_WIZARD_PUBLISH_WIZARD, VIRTKEY, CONTROL, NOINVERT
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_PROGRESS_DIALOG_SETTINGS DIALOG DISCARDABLE 0, 0, 255, 157
|
|
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Progress Dialog Flags"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
CONTROL "Show Title",IDC_PROGDLG_TITLE,"Button",BS_AUTOCHECKBOX |
|
|
WS_GROUP | WS_TABSTOP,7,7,91,10
|
|
CONTROL "Show Progress",IDC_PROGDLG_PROGRESS,"Button",
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,7,20,91,10
|
|
CONTROL "Allow Cancel",IDC_PROGDLG_CANCEL,"Button",
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,7,33,91,10
|
|
CONTROL "Show Animation",IDC_PROGDLG_ANIM,"Button",
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,7,46,91,10
|
|
CONTROL "Scanner connection",IDC_PROGDLG_SCAN_CONNECT,"Button",
|
|
BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,27,59,91,10
|
|
CONTROL "Camera connection",IDC_PROGDLG_CAMERA_CONNECT,"Button",
|
|
BS_AUTORADIOBUTTON,27,71,91,10
|
|
CONTROL "Video connection",IDC_PROGDLG_VIDEO_CONNECT,"Button",
|
|
BS_AUTORADIOBUTTON,27,83,91,10
|
|
CONTROL "Scanner acquire",IDC_PROGDLG_SCAN_ACQUIRE,"Button",
|
|
BS_AUTORADIOBUTTON,27,95,91,10
|
|
CONTROL "Camera acquire",IDC_PROGDLG_CAMERA_ACQUIRE,"Button",
|
|
BS_AUTORADIOBUTTON,27,107,91,10
|
|
CONTROL "Video acquire",IDC_PROGDLG_VIDEO_ACQUIRE,"Button",
|
|
BS_AUTORADIOBUTTON,27,119,91,10
|
|
CONTROL "Default device connection",IDC_PROGDLG_DEFAULT_CONNECT,
|
|
"Button",BS_AUTORADIOBUTTON,27,131,106,10
|
|
DEFPUSHBUTTON "OK",IDOK,198,7,50,14,WS_GROUP
|
|
PUSHBUTTON "Cancel",IDCANCEL,198,24,50,14
|
|
END
|
|
|
|
IDD_MBOXFLAGS DIALOG DISCARDABLE 0, 0, 237, 246
|
|
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Message Box Flags"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
GROUPBOX "&Buttons",IDC_STATIC,7,7,164,75,WS_GROUP
|
|
CONTROL "MBEX_OK",IDC_MBEX_OK,"Button",BS_AUTORADIOBUTTON |
|
|
WS_TABSTOP,16,17,133,10
|
|
CONTROL "MBEX_OKCANCEL",IDC_MBEX_OKCANCEL,"Button",
|
|
BS_AUTORADIOBUTTON,16,29,133,10
|
|
CONTROL "MBEX_YESNO",IDC_MBEX_YESNO,"Button",BS_AUTORADIOBUTTON,
|
|
16,41,133,10
|
|
CONTROL "MBEX_CANCELRETRYSKIPSKIPALL",
|
|
IDC_MBEX_CANCELRETRYSKIPSKIPALL,"Button",
|
|
BS_AUTORADIOBUTTON,16,53,133,10
|
|
CONTROL "MBEX_YESYESTOALLNONOTOALL",
|
|
IDC_MBEX_YESYESTOALLNONOTOALL,"Button",
|
|
BS_AUTORADIOBUTTON,16,65,133,10
|
|
GROUPBOX "&Default button",IDC_STATIC,7,89,164,75,WS_GROUP
|
|
CONTROL "MBEX_DEFBUTTON1",IDC_MBEX_DEFBUTTON1,"Button",
|
|
BS_AUTORADIOBUTTON | WS_TABSTOP,15,101,133,10
|
|
CONTROL "MBEX_DEFBUTTON2",IDC_MBEX_DEFBUTTON2,"Button",
|
|
BS_AUTORADIOBUTTON,15,113,133,10
|
|
CONTROL "MBEX_DEFBUTTON3",IDC_MBEX_DEFBUTTON3,"Button",
|
|
BS_AUTORADIOBUTTON,15,125,133,10
|
|
CONTROL "MBEX_DEFBUTTON4",IDC_MBEX_DEFBUTTON4,"Button",
|
|
BS_AUTORADIOBUTTON,15,137,133,10
|
|
CONTROL "MBEX_DEFBUTTON5",IDC_MBEX_DEFBUTTON5,"Button",
|
|
BS_AUTORADIOBUTTON,15,149,133,10
|
|
GROUPBOX "&Icon",IDC_STATIC,7,172,164,66,WS_GROUP
|
|
CONTROL "MBEX_ICONWARNING",IDC_MBEX_ICONWARNING,"Button",
|
|
BS_AUTORADIOBUTTON | WS_TABSTOP,13,184,133,10
|
|
CONTROL "MBEX_ICONINFORMATION",IDC_MBEX_ICONINFORMATION,"Button",
|
|
BS_AUTORADIOBUTTON,13,198,133,10
|
|
CONTROL "MBEX_ICONQUESTION",IDC_MBEX_ICONQUESTION,"Button",
|
|
BS_AUTORADIOBUTTON,13,211,133,10
|
|
CONTROL "MBEX_ICONERROR",IDC_MBEX_ICONERROR,"Button",
|
|
BS_AUTORADIOBUTTON,13,224,133,10
|
|
PUSHBUTTON "OK",IDOK,180,7,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,180,25,50,14
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO DISCARDABLE
|
|
BEGIN
|
|
IDD_PROGRESS_DIALOG_SETTINGS, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 248
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 150
|
|
END
|
|
|
|
IDD_MBOXFLAGS, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 230
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 239
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Bitmap
|
|
//
|
|
|
|
IDB_TESTIMAGE BITMAP DISCARDABLE "testimg.bmp"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_MESSAGEBOXTESTMESSAGE "IDS_MESSAGEBOXTESTMESSAGE"
|
|
IDS_MESSAGEBOXTESTTITLE "IDS_MESSAGEBOXTESTTITLE"
|
|
IDS_MESSAGEBOXTESTFORMAT
|
|
"IDS_MESSAGEBOXTESTFORMAT: String: ""%s"", Number: %d"
|
|
END
|
|
|
|
#endif // English (U.S.) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
#include "mboxex.rc"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|