409 lines
13 KiB
Plaintext
409 lines
13 KiB
Plaintext
//+-------------------------------------------------------------------------
|
||
//
|
||
// Microsoft Windows
|
||
//
|
||
// Copyright (C) Microsoft Corporation, 1997 - 1998
|
||
//
|
||
// File: stillvue.rc
|
||
//
|
||
//--------------------------------------------------------------------------
|
||
|
||
//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
|
||
"\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_STI ICON DISCARDABLE "scan1.ico"
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Menu
|
||
//
|
||
|
||
IDR_STI_COMP MENU DISCARDABLE
|
||
BEGIN
|
||
POPUP "Tests"
|
||
BEGIN
|
||
MENUITEM "Start Compliance test", IDM_COMPLIANCE
|
||
END
|
||
MENUITEM "Pause", IDM_PAUSE, GRAYED
|
||
MENUITEM "Help!", IDM_HELP
|
||
END
|
||
|
||
IDR_STI_LAB MENU DISCARDABLE
|
||
BEGIN
|
||
POPUP "Automation"
|
||
BEGIN
|
||
MENUITEM "Timing", IDM_SETTINGS
|
||
MENUITEM "Start/Stop Automated test", IDM_AUTO
|
||
MENUITEM "ShipCrit test", IDM_SHIPCRIT
|
||
MENUITEM "WHQL Compliance test", IDM_COMPLIANCE
|
||
END
|
||
POPUP "IStillImage"
|
||
BEGIN
|
||
MENUITEM "StiCreateInstance", IDM_CREATE_INSTANCE
|
||
MENUITEM "GetDeviceList", IDM_GET_DEVLIST, GRAYED
|
||
MENUITEM "CreateDevice", IDM_CREATE_DEV, GRAYED
|
||
MENUITEM "GetDeviceInfo", IDM_GET_DEVINFO, GRAYED
|
||
MENUITEM "GetDeviceValue", IDM_GET_DEVVAL, GRAYED
|
||
MENUITEM "SetDeviceValue", IDM_SET_DEVVAL, GRAYED
|
||
MENUITEM "RegisterLaunchApplication", IDM_REGISTER_LAUNCH, GRAYED
|
||
MENUITEM "UnRegisterLaunchApplication", IDM_UNREGISTER_LAUNCH
|
||
, GRAYED
|
||
MENUITEM "EnableHwNotifications", IDM_ENABLE_HWNOTIF, GRAYED
|
||
MENUITEM "GetHwNotificationState", IDM_GET_HWNOTIF, GRAYED
|
||
MENUITEM "Refresh", IDM_REFRESH_DEVBUS, GRAYED
|
||
MENUITEM "WriteToErrorLog", IDM_WRITE_ERRORLOG, GRAYED
|
||
MENUITEM "Release (Sti subsystem)", IDM_IMAGE_RELEASE, GRAYED
|
||
END
|
||
POPUP "IStillDevice"
|
||
BEGIN
|
||
MENUITEM "GetStatus (OnLine)", IDM_GET_STATUS_A, GRAYED
|
||
MENUITEM "GetStatus (Events)", IDM_GET_STATUS_B, GRAYED
|
||
MENUITEM "GetStatus (All)", IDM_GET_STATUS_C, GRAYED
|
||
MENUITEM "GetCapabilities", IDM_GET_CAPS, GRAYED
|
||
MENUITEM "DeviceReset", IDM_DEVICERESET, GRAYED
|
||
MENUITEM "Diagnostic", IDM_DIAGNOSTIC, GRAYED
|
||
MENUITEM "GetLastInfoError", IDM_GET_LASTERRINFO, GRAYED
|
||
MENUITEM "Subscribe", IDM_SUBSCRIBE, GRAYED
|
||
MENUITEM "UnSubscribe", IDM_UNSUBSCRIBE, GRAYED
|
||
MENUITEM "Escape (A)", IDM_ESCAPE_A, GRAYED
|
||
MENUITEM "RawReadData (A)", IDM_RAWREADDATA_A, GRAYED
|
||
MENUITEM "RawWriteData (A)", IDM_RAWWRITEDATA_A, GRAYED
|
||
MENUITEM "RawReadCommand (A)", IDM_RAWREADCOMMAND_A, GRAYED
|
||
MENUITEM "RawWriteCommand (A)", IDM_RAWWRITECOMMAND_A
|
||
, GRAYED
|
||
MENUITEM "Release (Device)", IDM_DEVICE_RELEASE, GRAYED
|
||
END
|
||
POPUP "Scanning"
|
||
BEGIN
|
||
MENUITEM "Lamp Off", IDM_LAMPOFF, GRAYED
|
||
MENUITEM "Lamp On", IDM_LAMPON, GRAYED
|
||
MENUITEM "Scan", IDM_SCAN, GRAYED
|
||
MENUITEM "Display Image", IDM_SHOWDIB, GRAYED
|
||
END
|
||
MENUITEM "Pause", IDM_PAUSE, GRAYED
|
||
MENUITEM "Help!", IDM_HELP
|
||
END
|
||
|
||
IDR_STI_DDK MENU DISCARDABLE
|
||
BEGIN
|
||
POPUP "IStillImage"
|
||
BEGIN
|
||
MENUITEM "StiCreateInstance", IDM_CREATE_INSTANCE
|
||
MENUITEM "GetDeviceList", IDM_GET_DEVLIST, GRAYED
|
||
MENUITEM "CreateDevice", IDM_CREATE_DEV, GRAYED
|
||
MENUITEM "GetDeviceInfo", IDM_GET_DEVINFO, GRAYED
|
||
MENUITEM "GetDeviceValue", IDM_GET_DEVVAL, GRAYED
|
||
MENUITEM "SetDeviceValue", IDM_SET_DEVVAL, GRAYED
|
||
MENUITEM "RegisterLaunchApplication", IDM_REGISTER_LAUNCH, GRAYED
|
||
MENUITEM "UnRegisterLaunchApplication", IDM_UNREGISTER_LAUNCH
|
||
, GRAYED
|
||
MENUITEM "EnableHwNotifications", IDM_ENABLE_HWNOTIF, GRAYED
|
||
MENUITEM "GetHwNotificationState", IDM_GET_HWNOTIF, GRAYED
|
||
MENUITEM "Refresh", IDM_REFRESH_DEVBUS, GRAYED
|
||
MENUITEM "WriteToErrorLog", IDM_WRITE_ERRORLOG, GRAYED
|
||
MENUITEM "Release (Sti subsystem)", IDM_IMAGE_RELEASE, GRAYED
|
||
END
|
||
POPUP "IStillDevice"
|
||
BEGIN
|
||
MENUITEM "GetStatus (OnLine)", IDM_GET_STATUS_A, GRAYED
|
||
MENUITEM "GetStatus (Events)", IDM_GET_STATUS_B, GRAYED
|
||
MENUITEM "GetStatus (All)", IDM_GET_STATUS_C, GRAYED
|
||
MENUITEM "GetCapabilities", IDM_GET_CAPS, GRAYED
|
||
MENUITEM "DeviceReset", IDM_DEVICERESET, GRAYED
|
||
MENUITEM "Diagnostic", IDM_DIAGNOSTIC, GRAYED
|
||
MENUITEM "GetLastInfoError", IDM_GET_LASTERRINFO, GRAYED
|
||
MENUITEM "Subscribe", IDM_SUBSCRIBE, GRAYED
|
||
MENUITEM "UnSubscribe", IDM_UNSUBSCRIBE, GRAYED
|
||
MENUITEM "Escape (A)", IDM_ESCAPE_A, GRAYED
|
||
MENUITEM "RawReadData (A)", IDM_RAWREADDATA_A, GRAYED
|
||
MENUITEM "RawWriteData (A)", IDM_RAWWRITEDATA_A, GRAYED
|
||
MENUITEM "RawReadCommand (A)", IDM_RAWREADCOMMAND_A, GRAYED
|
||
MENUITEM "RawWriteCommand (A)", IDM_RAWWRITECOMMAND_A
|
||
, GRAYED
|
||
MENUITEM "Release (Device)", IDM_DEVICE_RELEASE, GRAYED
|
||
END
|
||
POPUP "Automation"
|
||
BEGIN
|
||
MENUITEM "Timing", IDM_SETTINGS
|
||
MENUITEM "Start/Stop Automated test", IDM_AUTO
|
||
END
|
||
POPUP "Scanning"
|
||
BEGIN
|
||
MENUITEM "Lamp Off", IDM_LAMPOFF, GRAYED
|
||
MENUITEM "Lamp On", IDM_LAMPON, GRAYED
|
||
MENUITEM "Scan", IDM_SCAN, GRAYED
|
||
MENUITEM "Display Image", IDM_SHOWDIB, GRAYED
|
||
END
|
||
MENUITEM "Pause", IDM_PAUSE, GRAYED
|
||
MENUITEM "Help!", IDM_HELP
|
||
END
|
||
|
||
|
||
#ifndef _MAC
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Version
|
||
//
|
||
|
||
VS_VERSION_INFO VERSIONINFO
|
||
FILEVERSION 1,0,0,0
|
||
PRODUCTVERSION 4,0,0,0
|
||
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", "StiComplianceTest\0"
|
||
VALUE "CompanyName", "Microsoft Corporation\0"
|
||
VALUE "FileDescription", "StiComplianceTest\0"
|
||
VALUE "FileVersion", "1.5\0"
|
||
VALUE "InternalName", "StiComplianceTest\0"
|
||
VALUE "LegalCopyright", "Copyright <20> 1997\0"
|
||
VALUE "OriginalFilename", "Stillvue.exe\0"
|
||
VALUE "ProductName", "Still Imaging test\0"
|
||
VALUE "ProductVersion", "04.10.00.1650.8\0"
|
||
END
|
||
END
|
||
BLOCK "VarFileInfo"
|
||
BEGIN
|
||
VALUE "Translation", 0x409, 1200
|
||
END
|
||
END
|
||
|
||
#endif // !_MAC
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Dialog
|
||
//
|
||
|
||
IDD_SELECT DIALOG DISCARDABLE 0, 0, 202, 74
|
||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
CAPTION "Pick a device"
|
||
FONT 8, "MS Sans Serif"
|
||
BEGIN
|
||
COMBOBOX IDC_SELECT_DEVICE,76,4,120,69,CBS_DROPDOWNLIST |
|
||
WS_VSCROLL | WS_TABSTOP
|
||
DEFPUSHBUTTON "OK",IDOK,76,44,50,14
|
||
PUSHBUTTON "Cancel",IDCANCEL,138,44,50,14
|
||
RTEXT "Don't open device (select name only)",IDC_STATIC,4,22,
|
||
67,22
|
||
RTEXT "Select device",IDC_STATIC,3,5,68,13
|
||
CONTROL "",IDC_SELECT_NAME,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
|
||
76,21,27,15
|
||
END
|
||
|
||
IDD_SETTINGS DIALOG DISCARDABLE 0, 0, 246, 103
|
||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
CAPTION "Automated test settings"
|
||
FONT 8, "MS Sans Serif"
|
||
BEGIN
|
||
DEFPUSHBUTTON "OK",IDOK,189,7,50,14
|
||
PUSHBUTTON "Cancel",IDCANCEL,189,24,50,14
|
||
COMBOBOX IDC_AUTO_SECONDS,117,25,52,60,CBS_DROPDOWNLIST |
|
||
WS_VSCROLL | WS_TABSTOP
|
||
COMBOBOX IDC_SCAN_SECONDS,117,43,52,66,CBS_DROPDOWNLIST |
|
||
WS_VSCROLL | WS_TABSTOP
|
||
RTEXT "Test speed (in seconds)",IDC_STATIC,25,25,88,10
|
||
RTEXT "Scan interval (in seconds)",IDC_STATIC,25,43,88,10
|
||
GROUPBOX "Auto test settings",IDC_STATIC,7,7,172,78
|
||
COMBOBOX IDC_MAX_SCAN,117,61,52,48,CBS_DROPDOWN | WS_VSCROLL |
|
||
WS_TABSTOP
|
||
RTEXT "Maximum test passes",IDC_STATIC,39,61,74,10
|
||
END
|
||
|
||
IDD_SETVALUE DIALOGEX 0, 0, 268, 61
|
||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
CAPTION "Set device value"
|
||
FONT 8, "MS Sans Serif", 0, 0, 0x1
|
||
BEGIN
|
||
DEFPUSHBUTTON "OK",IDOK,211,7,50,14
|
||
PUSHBUTTON "Cancel",IDCANCEL,211,24,50,14
|
||
COMBOBOX IDC_SETVAL_TYPE,67,7,131,49,CBS_DROPDOWN | CBS_SORT |
|
||
WS_VSCROLL | WS_TABSTOP
|
||
EDITTEXT IDC_SETVAL_DATA,67,30,131,12,ES_AUTOHSCROLL
|
||
LTEXT "Value to modify",IDC_STATIC,7,7,54,12,0,WS_EX_RIGHT
|
||
LTEXT "New Value",IDC_STATIC,15,31,46,12,0,WS_EX_RIGHT
|
||
END
|
||
|
||
IDD_COMPLIANCE DIALOG DISCARDABLE 0, 0, 186, 95
|
||
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
CAPTION "Compliance confirmation"
|
||
FONT 8, "MS Sans Serif"
|
||
BEGIN
|
||
DEFPUSHBUTTON "OK",IDOK,129,7,50,14
|
||
PUSHBUTTON "Cancel",IDCANCEL,129,24,50,14
|
||
LTEXT "Ready to start Compliance test with the following devices:",
|
||
IDC_STATIC,7,14,119,31
|
||
LISTBOX IDC_COMPLIANCE_DEV_NAME,7,39,120,49,LBS_SORT |
|
||
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
|
||
END
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// DESIGNINFO
|
||
//
|
||
|
||
#ifdef APSTUDIO_INVOKED
|
||
GUIDELINES DESIGNINFO DISCARDABLE
|
||
BEGIN
|
||
IDD_SELECT, DIALOG
|
||
BEGIN
|
||
BOTTOMMARGIN, 72
|
||
END
|
||
|
||
IDD_SETTINGS, DIALOG
|
||
BEGIN
|
||
LEFTMARGIN, 7
|
||
RIGHTMARGIN, 239
|
||
TOPMARGIN, 7
|
||
BOTTOMMARGIN, 96
|
||
END
|
||
|
||
IDD_COMPLIANCE, DIALOG
|
||
BEGIN
|
||
LEFTMARGIN, 7
|
||
RIGHTMARGIN, 179
|
||
TOPMARGIN, 7
|
||
BOTTOMMARGIN, 88
|
||
END
|
||
END
|
||
#endif // APSTUDIO_INVOKED
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Dialog Info
|
||
//
|
||
|
||
IDD_SETTINGS DLGINIT
|
||
BEGIN
|
||
IDC_MAX_SCAN, 0x403, 1, 0
|
||
"\000"
|
||
0
|
||
END
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// String Table
|
||
//
|
||
|
||
STRINGTABLE DISCARDABLE
|
||
BEGIN
|
||
IDS_CLASSNAME "WiskClass"
|
||
IDS_APPNAME "Still Imaging test"
|
||
IDS_CAPTION "Still Imaging test"
|
||
END
|
||
|
||
STRINGTABLE DISCARDABLE
|
||
BEGIN
|
||
IDS_PRIVSECTION "Last saved state"
|
||
IDS_PRIVINI "stillvue.ini"
|
||
IDS_AUTO "Auto"
|
||
IDS_LAST_COUNT "Last run iterations"
|
||
IDS_LAST_SCAN "Last run scans"
|
||
IDS_LAST_ERROR "Last run errors"
|
||
IDS_THIS_COUNT "This run iterations"
|
||
IDS_THIS_SCAN "This run scans"
|
||
IDS_THIS_ERROR "This run errors"
|
||
IDS_NTLOG "StiWHQL.log"
|
||
END
|
||
|
||
STRINGTABLE DISCARDABLE
|
||
BEGIN
|
||
IDM_GET_DEVLIST "Detect available Still Imaging Devices"
|
||
END
|
||
|
||
STRINGTABLE DISCARDABLE
|
||
BEGIN
|
||
IDM_CREATE_DEV "Select a Still Imaging Device"
|
||
END
|
||
|
||
STRINGTABLE DISCARDABLE
|
||
BEGIN
|
||
IDM_LAMPON "Turn the lamp on"
|
||
IDM_LAMPOFF "Turn the lamp off"
|
||
IDM_SCAN "Scan and display an image"
|
||
END
|
||
|
||
#endif // English (U.S.) resources
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
|
||
|
||
|
||
#ifndef APSTUDIO_INVOKED
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
//
|
||
// Generated from the TEXTINCLUDE 3 resource.
|
||
//
|
||
|
||
|
||
/////////////////////////////////////////////////////////////////////////////
|
||
#endif // not APSTUDIO_INVOKED
|
||
|