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.
53 lines
2.1 KiB
53 lines
2.1 KiB
#include <windows.h>
|
|
#include "resource.h"
|
|
|
|
IDD_OPTIONS DIALOG 3, 13, 251, 248
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Perf Test Options"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
GROUPBOX "Devices", -1, 7, 7, 124, 104
|
|
AUTOCHECKBOX "Test all devices", IDC_TESTALL, 13, 90, 88, 10
|
|
LTEXT "Select a device to test:", -1, 13, 22, 104, 8
|
|
COMBOBOX IDC_TESTLIST, 13, 34, 115, 54, CBS_DROPDOWNLIST | CBS_SORT |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
GROUPBOX "Logging", -1, 135, 7, 107, 104
|
|
AUTOCHECKBOX "Log all WIA API calls", IDC_LOGALL, 140, 26, 99, 10
|
|
AUTOCHECKBOX "Log time to execute", IDC_LOGTIMES, 140, 46, 89, 10
|
|
AUTOCHECKBOX "Log to file:", IDC_LOGFILE, 140, 67, 50, 10
|
|
PUSHBUTTON "Browse", IDC_GETFILE, 194, 66, 40, 14
|
|
EDITTEXT IDC_LOGFILENAME, 142, 87, 92, 12, ES_AUTOHSCROLL
|
|
GROUPBOX "Tests", -1, 7, 122, 235, 91
|
|
LTEXT "Select tests:", 108, 17, 132, 54, 8
|
|
LISTBOX IDC_TESTS, 16, 146, 101, 59, LBS_MULTIPLESEL | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "# iterations:", -1, 127, 138, 43, 8
|
|
EDITTEXT ID_ITERATIONS, 169, 134, 32, 12, ES_AUTOHSCROLL
|
|
AUTOCHECKBOX "Exit when tests complete", IDC_EXIT, 126, 164, 100, 10
|
|
PUSHBUTTON "OK", IDOK, 131, 227, 40, 14
|
|
PUSHBUTTON "Cancel", IDCANCEL, 187, 227, 40, 14
|
|
END
|
|
|
|
IDD_SHOWTHUMBS DIALOG DISCARDABLE 0, 0, 309, 239
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Thumbnails"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK",IDOK,133,218,50,14
|
|
CONTROL "List1",IDC_THUMBS,"SysListView32",LVS_ICON | LVS_AUTOARRANGE | LVS_NOLABELWRAP | WS_BORDER | WS_TABSTOP,7,7,295,204
|
|
END
|
|
|
|
|
|
IDM_MAINMENU MENU DISCARDABLE
|
|
BEGIN
|
|
POPUP "Tests"
|
|
BEGIN
|
|
MENUITEM "Options", IDM_TESTS_OPTIONS
|
|
MENUITEM "Execute!", IDM_TESTS_EXECUTE
|
|
MENUITEM "Exit", IDM_EXIT
|
|
END
|
|
END
|
|
|
|
IDI_APPICON ICON "wiaperf.ico"
|
|
|
|
#include "version.h"
|