230 lines
7.4 KiB
Plaintext
230 lines
7.4 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 1,0,0,1
|
|||
|
PRODUCTVERSION 1,0,0,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 "CompanyName", "Microsoft\0"
|
|||
|
VALUE "FileDescription", "WIA Preview Control Test Application\0"
|
|||
|
VALUE "FileVersion", "1, 0, 0, 1\0"
|
|||
|
VALUE "InternalName", "prevtest\0"
|
|||
|
VALUE "LegalCopyright", "Copyright <20> 1998, Microsoft Inc.\0"
|
|||
|
VALUE "OriginalFilename", "prevtest.exe\0"
|
|||
|
VALUE "ProductName", "Microsoft WIA\0"
|
|||
|
VALUE "ProductVersion", "1, 0, 0, 1\0"
|
|||
|
END
|
|||
|
END
|
|||
|
BLOCK "VarFileInfo"
|
|||
|
BEGIN
|
|||
|
VALUE "Translation", 0x409, 1200
|
|||
|
END
|
|||
|
END
|
|||
|
|
|||
|
#endif // !_MAC
|
|||
|
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
//
|
|||
|
// Bitmap
|
|||
|
//
|
|||
|
|
|||
|
IDB_COLOR BITMAP DISCARDABLE "color.bmp"
|
|||
|
IDB_GRAY BITMAP DISCARDABLE "gray.bmp"
|
|||
|
IDB_BW BITMAP DISCARDABLE "bw.bmp"
|
|||
|
|
|||
|
#ifdef APSTUDIO_INVOKED
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
//
|
|||
|
// TEXTINCLUDE
|
|||
|
//
|
|||
|
|
|||
|
1 TEXTINCLUDE DISCARDABLE
|
|||
|
BEGIN
|
|||
|
"resource.h\0"
|
|||
|
END
|
|||
|
|
|||
|
2 TEXTINCLUDE DISCARDABLE
|
|||
|
BEGIN
|
|||
|
"#include <winresrc.h>\r\n"
|
|||
|
"\0"
|
|||
|
END
|
|||
|
|
|||
|
3 TEXTINCLUDE DISCARDABLE
|
|||
|
BEGIN
|
|||
|
"\r\n"
|
|||
|
"\0"
|
|||
|
END
|
|||
|
|
|||
|
#endif // APSTUDIO_INVOKED
|
|||
|
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
//
|
|||
|
// Dialog
|
|||
|
//
|
|||
|
|
|||
|
IDD_TESTDLG DIALOG DISCARDABLE 0, 0, 444, 412
|
|||
|
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
|
|||
|
CAPTION "Preview Control Test"
|
|||
|
FONT 8, "MS Shell Dlg"
|
|||
|
BEGIN
|
|||
|
CONTROL "This is a preview control",IDC_PREVIEW,
|
|||
|
"WiaPreviewControlFrame",WS_BORDER | WS_GROUP |
|
|||
|
WS_TABSTOP,171,7,266,398
|
|||
|
GROUPBOX "Image Type",IDC_STATIC,7,7,139,64
|
|||
|
CONTROL "&Black and White",IDC_BW,"Button",BS_AUTORADIOBUTTON,15,
|
|||
|
19,69,10
|
|||
|
CONTROL "&Grayscale",IDC_GRAY,"Button",BS_AUTORADIOBUTTON,15,31,
|
|||
|
47,10
|
|||
|
CONTROL "&Color",IDC_COLOR,"Button",BS_AUTORADIOBUTTON,15,43,32,
|
|||
|
10
|
|||
|
CONTROL "&None",IDC_NOIMAGE,"Button",BS_AUTORADIOBUTTON,15,55,33,
|
|||
|
10
|
|||
|
LTEXT "B&order",IDC_STATIC,7,75,22,8
|
|||
|
CONTROL "Slider1",IDC_BORDER,"msctls_trackbar32",TBS_AUTOTICKS |
|
|||
|
TBS_TOP | TBS_NOTICKS | WS_TABSTOP,7,85,111,18
|
|||
|
LTEXT "20",IDC_BORDERTEXT,124,89,22,8
|
|||
|
LTEXT "Si&zing handles",IDC_STATIC,7,104,46,8
|
|||
|
CONTROL "Slider1",IDC_SIZINGHANDLES,"msctls_trackbar32",
|
|||
|
TBS_AUTOTICKS | TBS_TOP | TBS_NOTICKS | WS_TABSTOP,7,114,
|
|||
|
111,18
|
|||
|
LTEXT "20",IDC_SIZINGHANDLESTEXT,124,118,22,8
|
|||
|
LTEXT "&Alpha blend value",IDC_STATIC,7,132,58,8
|
|||
|
CONTROL "Slider1",IDC_ALPHAVALUE,"msctls_trackbar32",
|
|||
|
TBS_AUTOTICKS | TBS_TOP | TBS_NOTICKS | WS_TABSTOP,7,142,
|
|||
|
111,18
|
|||
|
LTEXT "20",IDC_ALPHAVALUETEXT,124,147,22,8
|
|||
|
CONTROL "&Round sizing handles",IDC_ROUNDHANDLES,"Button",
|
|||
|
BS_AUTOCHECKBOX | WS_TABSTOP,7,163,112,10
|
|||
|
CONTROL "&Disabled",IDC_DISABLED,"Button",BS_AUTOCHECKBOX |
|
|||
|
WS_TABSTOP,7,174,112,10
|
|||
|
CONTROL "Pre&view mode",IDC_PREVIEWMODE,"Button",BS_AUTOCHECKBOX |
|
|||
|
WS_TABSTOP,7,185,112,10
|
|||
|
CONTROL "A&llow empty selection",IDC_NULLSELECTION,"Button",
|
|||
|
BS_AUTOCHECKBOX | WS_TABSTOP,7,196,112,10
|
|||
|
CONTROL "Disable &selection",IDC_DISABLESELECTION,"Button",
|
|||
|
BS_AUTOCHECKBOX | WS_TABSTOP,7,207,112,10
|
|||
|
CONTROL "Solid s&election rect",IDC_SOLIDSELECTION,"Button",
|
|||
|
BS_AUTOCHECKBOX | WS_TABSTOP,7,218,112,10
|
|||
|
CONTROL "&Hollow selection handle",IDC_HOLLOWHANDLE,"Button",
|
|||
|
BS_AUTOCHECKBOX | WS_TABSTOP,7,229,112,10
|
|||
|
CONTROL "Double &width selection",IDC_DOUBLEWIDTH,"Button",
|
|||
|
BS_AUTOCHECKBOX | WS_TABSTOP,7,240,112,10
|
|||
|
CONTROL "Set &progress",IDC_SETPROGRESS,"Button",BS_AUTOCHECKBOX |
|
|||
|
WS_TABSTOP,7,251,112,10
|
|||
|
LTEXT "Margin colors:",IDC_STATIC,7,266,87,8
|
|||
|
PUSHBUTTON "&Inner Color",IDC_INNERCOLOR,7,276,50,14
|
|||
|
PUSHBUTTON "Ou&ter Color",IDC_OUTERCOLOR,62,276,50,14
|
|||
|
LTEXT "Selection border colors:",IDC_STATIC,7,295,109,8
|
|||
|
PUSHBUTTON "Selected",IDC_SELECTEDBORDERCOLOR,7,306,50,14
|
|||
|
PUSHBUTTON "Unselected",IDC_UNSELECTEDBORDERCOLOR,61,306,50,14
|
|||
|
PUSHBUTTON "Disabled",IDC_DISABLEBORDERCOLOR,115,306,50,14
|
|||
|
LTEXT "Selection handle colors:",IDC_STATIC,7,326,137,8
|
|||
|
PUSHBUTTON "Selected",IDC_SELECTEDHANDLECOLOR,7,335,50,14
|
|||
|
PUSHBUTTON "Unselected",IDC_UNSELECTEDHANDLECOLOR,61,335,50,14
|
|||
|
PUSHBUTTON "Disabled",IDC_DISABLEHANDLECOLOR,115,335,50,14
|
|||
|
LTEXT "Set selection",IDC_STATIC,7,356,155,8
|
|||
|
PUSHBUTTON "Set Origin",IDC_SETORIGIN,7,365,50,14
|
|||
|
PUSHBUTTON "Set Extent",IDC_SETEXTENT,62,365,50,14
|
|||
|
LTEXT "Origin:",IDC_STATIC,7,385,23,8
|
|||
|
LTEXT "(n,n) (n,n)",IDC_ORIGIN,41,385,116,8
|
|||
|
LTEXT "Extent:",IDC_STATIC,7,396,24,8
|
|||
|
LTEXT "(n,n) (n,n)",IDC_EXTENT,41,396,116,8
|
|||
|
END
|
|||
|
|
|||
|
IDD_GETXYDLG DIALOG DISCARDABLE 0, 0, 221, 46
|
|||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|||
|
CAPTION "Get XY Coordinates"
|
|||
|
FONT 8, "MS Shell Dlg"
|
|||
|
BEGIN
|
|||
|
LTEXT "X:",IDC_STATIC,7,19,17,8
|
|||
|
EDITTEXT IDC_X,26,16,40,14,ES_AUTOHSCROLL
|
|||
|
LTEXT "Y:",IDC_STATIC,85,19,17,8
|
|||
|
EDITTEXT IDC_Y,104,16,40,14,ES_AUTOHSCROLL
|
|||
|
DEFPUSHBUTTON "OK",IDOK,164,7,50,14
|
|||
|
PUSHBUTTON "Cancel",IDCANCEL,164,24,50,14
|
|||
|
END
|
|||
|
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
//
|
|||
|
// DESIGNINFO
|
|||
|
//
|
|||
|
|
|||
|
#ifdef APSTUDIO_INVOKED
|
|||
|
GUIDELINES DESIGNINFO DISCARDABLE
|
|||
|
BEGIN
|
|||
|
IDD_TESTDLG, DIALOG
|
|||
|
BEGIN
|
|||
|
LEFTMARGIN, 7
|
|||
|
RIGHTMARGIN, 437
|
|||
|
TOPMARGIN, 7
|
|||
|
BOTTOMMARGIN, 405
|
|||
|
END
|
|||
|
|
|||
|
IDD_GETXYDLG, DIALOG
|
|||
|
BEGIN
|
|||
|
LEFTMARGIN, 7
|
|||
|
RIGHTMARGIN, 214
|
|||
|
TOPMARGIN, 7
|
|||
|
BOTTOMMARGIN, 39
|
|||
|
END
|
|||
|
END
|
|||
|
#endif // APSTUDIO_INVOKED
|
|||
|
|
|||
|
#endif // English (U.S.) resources
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
|
|||
|
|
|||
|
|
|||
|
#ifndef APSTUDIO_INVOKED
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
//
|
|||
|
// Generated from the TEXTINCLUDE 3 resource.
|
|||
|
//
|
|||
|
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
#endif // not APSTUDIO_INVOKED
|
|||
|
|