Source code of Windows XP (NT5)
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.

900 lines
34 KiB

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #include "afxres.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. #undef APSTUDIO_READONLY_SYMBOLS
  12. /////////////////////////////////////////////////////////////////////////////
  13. // English (U.S.) resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  17. #pragma code_page(1252)
  18. #endif //_WIN32
  19. #ifdef APSTUDIO_INVOKED
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // TEXTINCLUDE
  23. //
  24. 1 TEXTINCLUDE DISCARDABLE
  25. BEGIN
  26. "resource.h\0"
  27. END
  28. 2 TEXTINCLUDE DISCARDABLE
  29. BEGIN
  30. "#include ""afxres.h""\r\n"
  31. "\0"
  32. END
  33. 3 TEXTINCLUDE DISCARDABLE
  34. BEGIN
  35. "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
  36. "#define _AFX_NO_OLE_RESOURCES\r\n"
  37. "#define _AFX_NO_TRACKER_RESOURCES\r\n"
  38. "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
  39. "\r\n"
  40. "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
  41. "#ifdef _WIN32\r\n"
  42. "LANGUAGE 9, 1\r\n"
  43. "#pragma code_page(1252)\r\n"
  44. "#endif //_WIN32\r\n"
  45. "#include ""res\\wiatest.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
  46. "#include ""afxres.rc"" // Standard components\r\n"
  47. "#include ""afxprint.rc"" // printing/print preview resources\r\n"
  48. "#endif\r\n"
  49. "\0"
  50. END
  51. #endif // APSTUDIO_INVOKED
  52. /////////////////////////////////////////////////////////////////////////////
  53. //
  54. // Icon
  55. //
  56. // Icon with lowest ID value placed first to ensure application icon
  57. // remains consistent on all systems.
  58. IDR_MAINFRAME ICON DISCARDABLE "res\\wiatest.ico"
  59. IDR_WIATESTYPE ICON DISCARDABLE "res\\wiatestDoc.ico"
  60. /////////////////////////////////////////////////////////////////////////////
  61. //
  62. // Bitmap
  63. //
  64. IDR_MAINFRAME BITMAP MOVEABLE PURE "res\\Toolbar.bmp"
  65. IDB_THUMBNAIL_MISSING_BITMAP BITMAP DISCARDABLE "res\\thumbnail.bmp"
  66. /////////////////////////////////////////////////////////////////////////////
  67. //
  68. // Toolbar
  69. //
  70. IDR_MAINFRAME TOOLBAR DISCARDABLE 16, 15
  71. BEGIN
  72. BUTTON ID_FILE_NEW
  73. BUTTON IDM_SAVE_WIAPROPERTYSTREAM
  74. BUTTON IDM_LOAD_WIAPROPERTYSTREAM
  75. BUTTON IDM_ACQUIREIMAGE
  76. BUTTON IDM_ACQUIREIMAGE_COMMONUI
  77. BUTTON IDM_DELETE_ITEM
  78. BUTTON IDM_VIEW_CAPABILITIES
  79. SEPARATOR
  80. BUTTON IDM_DOCUMENT_ACQUISITION_SETTINGS
  81. BUTTON ID_FILE_PRINT
  82. SEPARATOR
  83. BUTTON ID_APP_ABOUT
  84. END
  85. /////////////////////////////////////////////////////////////////////////////
  86. //
  87. // Menu
  88. //
  89. IDR_MAINFRAME MENU PRELOAD DISCARDABLE
  90. BEGIN
  91. POPUP "&File"
  92. BEGIN
  93. MENUITEM "&New Device\tCtrl+N", ID_FILE_NEW
  94. MENUITEM "&Open...\tCtrl+O", ID_FILE_OPEN, GRAYED
  95. MENUITEM SEPARATOR
  96. MENUITEM "P&rint Setup...", ID_FILE_PRINT_SETUP, GRAYED
  97. MENUITEM SEPARATOR
  98. MENUITEM "Recent File", ID_FILE_MRU_FILE1, GRAYED
  99. MENUITEM SEPARATOR
  100. MENUITEM "E&xit", ID_APP_EXIT
  101. END
  102. POPUP "&View"
  103. BEGIN
  104. MENUITEM "&Toolbar", ID_VIEW_TOOLBAR
  105. MENUITEM "&Status Bar", ID_VIEW_STATUS_BAR
  106. END
  107. POPUP "&Help"
  108. BEGIN
  109. MENUITEM "&About wiatest...", ID_APP_ABOUT
  110. END
  111. END
  112. IDR_WIATESTYPE MENU PRELOAD DISCARDABLE
  113. BEGIN
  114. POPUP "&File"
  115. BEGIN
  116. MENUITEM "&New Device\tCtrl+N", ID_FILE_NEW
  117. MENUITEM "Acquire Image using a User Interface\tF1",
  118. IDM_ACQUIREIMAGE_COMMONUI
  119. MENUITEM "&Acquire Image\tF2", IDM_ACQUIREIMAGE
  120. MENUITEM "&Close", ID_FILE_CLOSE
  121. MENUITEM SEPARATOR
  122. MENUITEM "&Print...\tCtrl+P", ID_FILE_PRINT, GRAYED
  123. MENUITEM "Print Pre&view", ID_FILE_PRINT_PREVIEW
  124. , GRAYED
  125. MENUITEM "P&rint Setup...", ID_FILE_PRINT_SETUP, GRAYED
  126. MENUITEM SEPARATOR
  127. MENUITEM "E&xit", ID_APP_EXIT
  128. END
  129. POPUP "&Edit"
  130. BEGIN
  131. MENUITEM "&Save Property Stream\tCtrl+S", IDM_SAVE_WIAPROPERTYSTREAM
  132. MENUITEM "&Load Property Stream\tCtrl+L", IDM_LOAD_WIAPROPERTYSTREAM
  133. MENUITEM SEPARATOR
  134. MENUITEM "&Document Acquisition Settings\tF4",
  135. IDM_DOCUMENT_ACQUISITION_SETTINGS
  136. END
  137. POPUP "&View"
  138. BEGIN
  139. MENUITEM "&Capabilities\tF3", IDM_VIEW_CAPABILITIES
  140. MENUITEM SEPARATOR
  141. POPUP "Options"
  142. BEGIN
  143. MENUITEM "&Display Images After Acquisition",
  144. IDM_VIEW_DISPLAYIMAGE
  145. , CHECKED
  146. MENUITEM "Enable Debugger Output", IDM_EDIT_DEBUGOUT
  147. END
  148. MENUITEM SEPARATOR
  149. MENUITEM "&Toolbar", ID_VIEW_TOOLBAR
  150. MENUITEM "&Status Bar", ID_VIEW_STATUS_BAR
  151. END
  152. POPUP "&Window"
  153. BEGIN
  154. MENUITEM "&New Window", ID_WINDOW_NEW
  155. MENUITEM "&Cascade", ID_WINDOW_CASCADE
  156. MENUITEM "&Tile", ID_WINDOW_TILE_HORZ
  157. MENUITEM "&Arrange Icons", ID_WINDOW_ARRANGE
  158. END
  159. POPUP "&Help"
  160. BEGIN
  161. MENUITEM "&About wiatest...", ID_APP_ABOUT
  162. END
  163. END
  164. IDR_PROPERTY_EDIT_POPUPMENU MENU DISCARDABLE
  165. BEGIN
  166. POPUP "_PROPERTY_EDIT_POPUP_MENU_"
  167. BEGIN
  168. MENUITEM "&Edit Property Value(s)", ID_PROPERTYEDITPOPUPMENU_EDITPROPERTYVALUE
  169. END
  170. END
  171. IDR_ITEMTREE_POPUPMENU MENU DISCARDABLE
  172. BEGIN
  173. POPUP "_ITEM_TREE_POPUP_MENU_"
  174. BEGIN
  175. MENUITEM "Acquire Image using a User Interface",
  176. IDM_ACQUIREIMAGE_COMMONUI
  177. MENUITEM "Acquire Image", IDM_ACQUIREIMAGE
  178. MENUITEM SEPARATOR
  179. MENUITEM "View Capabilities", IDM_VIEW_CAPABILITIES
  180. MENUITEM SEPARATOR
  181. MENUITEM "Load Property Stream", IDM_LOAD_WIAPROPERTYSTREAM
  182. MENUITEM "Save Property Stream", IDM_SAVE_WIAPROPERTYSTREAM
  183. MENUITEM SEPARATOR
  184. MENUITEM "&Delete", IDM_DELETE_ITEM
  185. END
  186. END
  187. /////////////////////////////////////////////////////////////////////////////
  188. //
  189. // Accelerator
  190. //
  191. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
  192. BEGIN
  193. "C", ID_EDIT_COPY, VIRTKEY, CONTROL, NOINVERT
  194. "L", IDM_LOAD_WIAPROPERTYSTREAM, VIRTKEY, CONTROL, NOINVERT
  195. "N", ID_FILE_NEW, VIRTKEY, CONTROL, NOINVERT
  196. "O", ID_FILE_NEW, VIRTKEY, CONTROL, NOINVERT
  197. "P", ID_FILE_PRINT, VIRTKEY, CONTROL, NOINVERT
  198. "S", IDM_SAVE_WIAPROPERTYSTREAM, VIRTKEY, CONTROL, NOINVERT
  199. "V", ID_EDIT_PASTE, VIRTKEY, CONTROL, NOINVERT
  200. VK_BACK, ID_EDIT_UNDO, VIRTKEY, ALT, NOINVERT
  201. VK_DELETE, ID_EDIT_CUT, VIRTKEY, SHIFT, NOINVERT
  202. VK_F1, IDM_ACQUIREIMAGE_COMMONUI, VIRTKEY, NOINVERT
  203. VK_F2, IDM_ACQUIREIMAGE, VIRTKEY, NOINVERT
  204. VK_F3, IDM_VIEW_CAPABILITIES, VIRTKEY, NOINVERT
  205. VK_F4, IDM_DOCUMENT_ACQUISITION_SETTINGS, VIRTKEY, NOINVERT
  206. VK_F6, ID_NEXT_PANE, VIRTKEY, NOINVERT
  207. VK_F6, ID_PREV_PANE, VIRTKEY, SHIFT, NOINVERT
  208. VK_INSERT, ID_EDIT_COPY, VIRTKEY, CONTROL, NOINVERT
  209. VK_INSERT, ID_EDIT_PASTE, VIRTKEY, SHIFT, NOINVERT
  210. "X", ID_EDIT_CUT, VIRTKEY, CONTROL, NOINVERT
  211. "Z", ID_EDIT_UNDO, VIRTKEY, CONTROL, NOINVERT
  212. END
  213. /////////////////////////////////////////////////////////////////////////////
  214. //
  215. // Dialog
  216. //
  217. IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 235, 55
  218. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  219. CAPTION "About wiatest"
  220. FONT 8, "MS Shell Dlg"
  221. BEGIN
  222. ICON IDR_MAINFRAME,IDC_STATIC,11,15,20,20
  223. LTEXT "WIATEST Version 2.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX
  224. LTEXT "Copyright (C) 2000",IDC_STATIC,40,21,119,8
  225. DEFPUSHBUTTON "OK",IDOK,178,34,50,14,WS_GROUP
  226. LTEXT "Microsoft Corporation (WIA Core Team)",IDC_STATIC,40,31,
  227. 124,8
  228. END
  229. IDD_WIATEST_FORM DIALOG DISCARDABLE 0, 0, 520, 271
  230. STYLE WS_CHILD
  231. FONT 8, "MS Shell Dlg"
  232. BEGIN
  233. CONTROL "Tree1",IDC_ITEM_TREECTRL,"SysTreeView32",TVS_HASBUTTONS |
  234. TVS_HASLINES | TVS_LINESATROOT | TVS_SHOWSELALWAYS |
  235. WS_BORDER | WS_TABSTOP,7,21,142,102
  236. CONTROL "List1",IDC_ITEMPROPERTIES_LISTCTRL,"SysListView32",
  237. LVS_REPORT | LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP,
  238. 7,139,506,125
  239. CONTROL "",IDC_THUMBNAIL_PREVIEW,"Static",SS_BITMAP | SS_NOTIFY |
  240. SS_CENTERIMAGE | SS_SUNKEN,397,21,116,85
  241. LTEXT "WIA Item Tree",IDC_STATIC,7,7,47,8
  242. LTEXT "Supported TYMED and Formats for the selected WIA Item",
  243. IDC_STATIC,154,7,184,8
  244. LTEXT "WIA Item Properties",IDC_STATIC,7,127,64,8
  245. LISTBOX IDC_SUPPORTED_TYMED_AND_FORMAT_LISTBOX,152,21,242,102,
  246. LBS_SORT | LBS_USETABSTOPS | LBS_NOINTEGRALHEIGHT |
  247. WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
  248. END
  249. IDD_SELECTDEVICE_DIALOG DIALOG DISCARDABLE 0, 0, 243, 81
  250. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  251. CAPTION "Select a WIA Device"
  252. FONT 8, "MS Shell Dlg"
  253. BEGIN
  254. LISTBOX IDC_WIADEVICE_LISTBOX,7,7,229,51,LBS_NOINTEGRALHEIGHT |
  255. WS_VSCROLL | WS_TABSTOP
  256. DEFPUSHBUTTON "OK",IDOK,133,60,50,14
  257. PUSHBUTTON "Cancel",IDCANCEL,186,60,50,14
  258. END
  259. IDD_EDIT_WIAPROP_NONE_DIALOG DIALOG DISCARDABLE 0, 0, 266, 71
  260. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  261. CAPTION "Edit WIA Property (WIA_PROP_NONE)"
  262. FONT 8, "MS Shell Dlg"
  263. BEGIN
  264. EDITTEXT IDC_NONE_PROPERTYVALUE_EDITBOX,63,20,196,14,
  265. ES_AUTOHSCROLL
  266. DEFPUSHBUTTON "OK",IDOK,155,50,50,14
  267. PUSHBUTTON "Cancel",IDCANCEL,209,50,50,14
  268. LTEXT "Property Name:",IDC_STATIC,7,7,50,8
  269. LTEXT "Property Value:",IDC_STATIC,7,23,49,8
  270. LTEXT "(property name goes here)",IDC_NONE_PROPERTY_NAME,63,7,
  271. 196,9
  272. LTEXT "YYYY:MM:DW:DD:HH:MM:SS:MM",
  273. IDC_NONE_PROPERTY_FORMATTING_TEXT,7,38,249,8
  274. END
  275. IDD_EDIT_WIAPROP_LIST_DIALOG DIALOG DISCARDABLE 0, 0, 267, 202
  276. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  277. CAPTION "Edit WIA Property (WIA_PROP_LIST)"
  278. FONT 8, "MS Shell Dlg"
  279. BEGIN
  280. EDITTEXT IDC_LIST_PROPERTYVALUE_EDITBOX,63,20,196,14,
  281. ES_AUTOHSCROLL
  282. LISTBOX IDC_LIST_PROPERTYVALUE_LISTBOX,7,51,253,127,
  283. LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
  284. DEFPUSHBUTTON "OK",IDOK,157,181,50,14
  285. PUSHBUTTON "Cancel",IDCANCEL,210,181,50,14
  286. LTEXT "Property Name:",IDC_STATIC,7,7,50,8
  287. LTEXT "Property Value:",IDC_STATIC,7,23,49,8
  288. LTEXT "(property name goes here)",IDC_LIST_PROPERTY_NAME,63,7,
  289. 196,9
  290. LTEXT "List Values",IDC_STATIC,7,40,35,8
  291. CTEXT "# Item(s) in List",IDC_LIST_PROPERTYVALUE_NUMITEMSTEXT,
  292. 7,181,145,14,SS_SUNKEN
  293. END
  294. IDD_EDIT_WIAPROP_FLAGS_DIALOG DIALOG DISCARDABLE 0, 0, 266, 202
  295. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  296. CAPTION "Edit WIA Property (WIA_PROP_FLAG)"
  297. FONT 8, "MS Shell Dlg"
  298. BEGIN
  299. DEFPUSHBUTTON "OK",IDOK,157,181,50,14
  300. PUSHBUTTON "Cancel",IDCANCEL,209,181,50,14
  301. EDITTEXT IDC_FLAGS_PROPERTYVALUE_EDITBOX,63,20,196,14,
  302. ES_AUTOHSCROLL
  303. LTEXT "Property Name:",IDC_STATIC,7,7,50,8
  304. LTEXT "Property Value:",IDC_STATIC,7,23,49,8
  305. LTEXT "(property name goes here)",IDC_FLAGS_PROPERTY_NAME,63,7,
  306. 196,9
  307. LISTBOX IDC_FLAGS_PROPERTYVALUE_LISTBOX,7,51,253,127,
  308. LBS_NOINTEGRALHEIGHT | LBS_EXTENDEDSEL | WS_VSCROLL |
  309. WS_TABSTOP
  310. LTEXT "Flag Values",IDC_STATIC,7,40,38,8
  311. END
  312. IDD_EDIT_WIAPROP_RANGE_DIALOG DIALOG DISCARDABLE 0, 0, 264, 118
  313. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  314. CAPTION "Edit WIA Property (WIA_PROP_RANGE)"
  315. FONT 8, "MS Shell Dlg"
  316. BEGIN
  317. DEFPUSHBUTTON "OK",IDOK,154,97,50,14
  318. PUSHBUTTON "Cancel",IDCANCEL,207,97,50,14
  319. EDITTEXT IDC_RANGE_PROPERTYVALUE_EDITBOX,63,20,196,14,
  320. ES_AUTOHSCROLL
  321. LTEXT "Property Name:",IDC_STATIC,7,7,50,8
  322. LTEXT "Property Value:",IDC_STATIC,7,23,49,8
  323. LTEXT "(property name goes here)",IDC_RANGE_PROPERTY_NAME,63,7,
  324. 196,9
  325. LTEXT "Minimum Value:",IDC_STATIC,7,41,50,8
  326. LTEXT "Maximum Value:",IDC_STATIC,7,54,52,8
  327. LTEXT "Nominal Value:",IDC_STATIC,7,68,48,8
  328. LTEXT "Increment:",IDC_STATIC,7,82,34,8
  329. LTEXT "-",RANGE_PROPERTY_MINVALUE,75,41,182,8
  330. LTEXT "-",RANGE_PROPERTY_MAXVALUE,75,54,182,8
  331. LTEXT "-",RANGE_PROPERTY_NOMVALUE,75,68,182,8
  332. LTEXT "-",RANGE_PROPERTY_INCVALUE,75,82,182,8
  333. END
  334. IDD_CAPABILITIES_DIALOG DIALOG DISCARDABLE 0, 0, 416, 135
  335. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  336. CAPTION "Device Capabilities"
  337. FONT 8, "MS Shell Dlg"
  338. BEGIN
  339. CONTROL "List2",IDC_CAPABILITIES_LISTCTRL,"SysListView32",
  340. LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS |
  341. WS_BORDER | WS_TABSTOP,7,7,402,105
  342. DEFPUSHBUTTON "Send Command",IDC_SEND_COMMAND_BUTTON,292,114,63,14,
  343. WS_DISABLED
  344. PUSHBUTTON "Close",IDOK,359,114,50,14
  345. END
  346. IDD_DATA_ACQUISITION_DIALOG DIALOG DISCARDABLE 0, 0, 228, 98
  347. STYLE DS_MODALFRAME | DS_CENTER | WS_VISIBLE | WS_CAPTION
  348. CAPTION "Acquiring Data"
  349. FONT 8, "MS Shell Dlg"
  350. BEGIN
  351. DEFPUSHBUTTON "Cancel",IDCANCEL,89,77,50,14
  352. CONTROL "Progress1",IDC_ACQUIRE_PROGRESS,"msctls_progress32",
  353. WS_BORDER,7,45,214,14
  354. LTEXT "Callback Message: ",IDC_STATIC,7,7,63,8
  355. CTEXT "% Complete",IDC_DATA_ACQUSITION_PERCENTCOMPLETE,7,62,
  356. 214,8
  357. LTEXT "IT_MSG_DATA_HEADER",IDC_DATA_ACQUISITION_MESSAGE,71,7,
  358. 150,24
  359. END
  360. IDD_PROPPAGE_SIMPLE_DOCUMENT_SCANNERS_SETTINGS DIALOG DISCARDABLE 0, 0, 195, 127
  361. STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
  362. CAPTION "Settings"
  363. FONT 8, "MS Shell Dlg"
  364. BEGIN
  365. EDITTEXT IDC_NUMBEROF_PAGES_EDITBOX,7,39,39,14,ES_AUTOHSCROLL
  366. LTEXT "Number of pages to acquire, (0 = All pages)",
  367. IDC_NUMBEROF_PAGES_EDITBOX_TEXT,51,42,137,8
  368. COMBOBOX IDC_DOCUMENT_SOURCE_COMBOBOX,7,20,181,52,
  369. CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
  370. LTEXT "Select a document acquisition source",IDC_STATIC,7,7,
  371. 119,8
  372. END
  373. IDD_PROPPAGE_ADVANCED_DOCUMENT_SCANNERS_SETTINGS DIALOG DISCARDABLE 0, 0, 195, 127
  374. STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
  375. CAPTION "Advanced"
  376. FONT 8, "MS Shell Dlg"
  377. BEGIN
  378. CONTROL "Duplex",IDC_DUPLEX_CHECKBOX,"Button",BS_AUTOCHECKBOX |
  379. WS_TABSTOP,7,7,38,10
  380. END
  381. #ifndef _MAC
  382. /////////////////////////////////////////////////////////////////////////////
  383. //
  384. // Version
  385. //
  386. VS_VERSION_INFO VERSIONINFO
  387. FILEVERSION 2,0,0,0
  388. PRODUCTVERSION 2,0,0,0
  389. FILEFLAGSMASK 0x3fL
  390. #ifdef _DEBUG
  391. FILEFLAGS 0x1L
  392. #else
  393. FILEFLAGS 0x0L
  394. #endif
  395. FILEOS 0x4L
  396. FILETYPE 0x1L
  397. FILESUBTYPE 0x0L
  398. BEGIN
  399. BLOCK "StringFileInfo"
  400. BEGIN
  401. BLOCK "040904b0"
  402. BEGIN
  403. VALUE "Comments", "\0"
  404. VALUE "CompanyName", "Microsoft\0"
  405. VALUE "FileDescription", "wiatest (WIA driver testing application)\0"
  406. VALUE "FileVersion", "2, 0, 0, 0\0"
  407. VALUE "InternalName", "wiatest\0"
  408. VALUE "LegalCopyright", "Copyright (C) 2000\0"
  409. VALUE "LegalTrademarks", "\0"
  410. VALUE "OriginalFilename", "wiatest.exe\0"
  411. VALUE "PrivateBuild", "\0"
  412. VALUE "ProductName", "wiatest\0"
  413. VALUE "ProductVersion", "2, 0, 0, 0\0"
  414. VALUE "SpecialBuild", "\0"
  415. END
  416. END
  417. BLOCK "VarFileInfo"
  418. BEGIN
  419. VALUE "Translation", 0x409, 1200
  420. END
  421. END
  422. #endif // !_MAC
  423. /////////////////////////////////////////////////////////////////////////////
  424. //
  425. // DESIGNINFO
  426. //
  427. #ifdef APSTUDIO_INVOKED
  428. GUIDELINES DESIGNINFO DISCARDABLE
  429. BEGIN
  430. IDD_ABOUTBOX, DIALOG
  431. BEGIN
  432. LEFTMARGIN, 7
  433. RIGHTMARGIN, 228
  434. TOPMARGIN, 7
  435. BOTTOMMARGIN, 48
  436. END
  437. IDD_WIATEST_FORM, DIALOG
  438. BEGIN
  439. LEFTMARGIN, 7
  440. RIGHTMARGIN, 513
  441. TOPMARGIN, 7
  442. BOTTOMMARGIN, 264
  443. END
  444. IDD_SELECTDEVICE_DIALOG, DIALOG
  445. BEGIN
  446. LEFTMARGIN, 7
  447. RIGHTMARGIN, 236
  448. TOPMARGIN, 7
  449. BOTTOMMARGIN, 74
  450. END
  451. IDD_EDIT_WIAPROP_NONE_DIALOG, DIALOG
  452. BEGIN
  453. LEFTMARGIN, 7
  454. RIGHTMARGIN, 259
  455. TOPMARGIN, 7
  456. BOTTOMMARGIN, 64
  457. END
  458. IDD_EDIT_WIAPROP_LIST_DIALOG, DIALOG
  459. BEGIN
  460. LEFTMARGIN, 7
  461. RIGHTMARGIN, 260
  462. TOPMARGIN, 7
  463. BOTTOMMARGIN, 195
  464. END
  465. IDD_EDIT_WIAPROP_FLAGS_DIALOG, DIALOG
  466. BEGIN
  467. LEFTMARGIN, 7
  468. RIGHTMARGIN, 259
  469. TOPMARGIN, 7
  470. BOTTOMMARGIN, 195
  471. END
  472. IDD_EDIT_WIAPROP_RANGE_DIALOG, DIALOG
  473. BEGIN
  474. LEFTMARGIN, 7
  475. RIGHTMARGIN, 257
  476. TOPMARGIN, 7
  477. BOTTOMMARGIN, 111
  478. END
  479. IDD_CAPABILITIES_DIALOG, DIALOG
  480. BEGIN
  481. LEFTMARGIN, 7
  482. RIGHTMARGIN, 409
  483. TOPMARGIN, 7
  484. BOTTOMMARGIN, 128
  485. END
  486. IDD_DATA_ACQUISITION_DIALOG, DIALOG
  487. BEGIN
  488. LEFTMARGIN, 7
  489. RIGHTMARGIN, 221
  490. TOPMARGIN, 7
  491. BOTTOMMARGIN, 91
  492. END
  493. IDD_PROPPAGE_SIMPLE_DOCUMENT_SCANNERS_SETTINGS, DIALOG
  494. BEGIN
  495. LEFTMARGIN, 7
  496. RIGHTMARGIN, 188
  497. TOPMARGIN, 7
  498. BOTTOMMARGIN, 120
  499. END
  500. IDD_PROPPAGE_ADVANCED_DOCUMENT_SCANNERS_SETTINGS, DIALOG
  501. BEGIN
  502. LEFTMARGIN, 7
  503. RIGHTMARGIN, 188
  504. TOPMARGIN, 7
  505. BOTTOMMARGIN, 120
  506. END
  507. END
  508. #endif // APSTUDIO_INVOKED
  509. /////////////////////////////////////////////////////////////////////////////
  510. //
  511. // Dialog Info
  512. //
  513. IDD_PROPPAGE_SIMPLE_DOCUMENT_SCANNERS_SETTINGS DLGINIT
  514. BEGIN
  515. IDC_DOCUMENT_SOURCE_COMBOBOX, 0x403, 8, 0
  516. 0x6c46, 0x7461, 0x6562, 0x0064,
  517. IDC_DOCUMENT_SOURCE_COMBOBOX, 0x403, 7, 0
  518. 0x6546, 0x6465, 0x7265, "\000"
  519. 0
  520. END
  521. /////////////////////////////////////////////////////////////////////////////
  522. //
  523. // String Table
  524. //
  525. STRINGTABLE PRELOAD DISCARDABLE
  526. BEGIN
  527. IDR_MAINFRAME "wiatest"
  528. IDR_WIATESTYPE "\nWiates\nWiates\n\n\nWiatest.Document\nWiates Document"
  529. END
  530. STRINGTABLE PRELOAD DISCARDABLE
  531. BEGIN
  532. AFX_IDS_APP_TITLE "wiatest"
  533. AFX_IDS_IDLEMESSAGE "Ready"
  534. END
  535. STRINGTABLE DISCARDABLE
  536. BEGIN
  537. ID_INDICATOR_EXT "EXT"
  538. ID_INDICATOR_CAPS "CAP"
  539. ID_INDICATOR_NUM "NUM"
  540. ID_INDICATOR_SCRL "SCRL"
  541. ID_INDICATOR_OVR "OVR"
  542. ID_INDICATOR_REC "REC"
  543. END
  544. STRINGTABLE DISCARDABLE
  545. BEGIN
  546. ID_FILE_NEW "Create a new device\nNew Device"
  547. ID_FILE_OPEN "Open an existing document\nOpen"
  548. ID_FILE_CLOSE "Close the active document\nClose"
  549. ID_FILE_SAVE "Save the active document\nSave"
  550. ID_FILE_SAVE_AS "Save the active document with a new name\nSave As"
  551. ID_FILE_PAGE_SETUP "Change the printing options\nPage Setup"
  552. ID_FILE_PRINT_SETUP "Change the printer and printing options\nPrint Setup"
  553. ID_FILE_PRINT "Print the active document\nPrint"
  554. ID_FILE_PRINT_PREVIEW "Display full pages\nPrint Preview"
  555. END
  556. STRINGTABLE DISCARDABLE
  557. BEGIN
  558. ID_APP_ABOUT "Display program information, version number and copyright\nAbout"
  559. ID_APP_EXIT "Quit the application; prompts to save documents\nExit"
  560. END
  561. STRINGTABLE DISCARDABLE
  562. BEGIN
  563. ID_FILE_MRU_FILE1 "Open this document"
  564. ID_FILE_MRU_FILE2 "Open this document"
  565. ID_FILE_MRU_FILE3 "Open this document"
  566. ID_FILE_MRU_FILE4 "Open this document"
  567. ID_FILE_MRU_FILE5 "Open this document"
  568. ID_FILE_MRU_FILE6 "Open this document"
  569. ID_FILE_MRU_FILE7 "Open this document"
  570. ID_FILE_MRU_FILE8 "Open this document"
  571. ID_FILE_MRU_FILE9 "Open this document"
  572. ID_FILE_MRU_FILE10 "Open this document"
  573. ID_FILE_MRU_FILE11 "Open this document"
  574. ID_FILE_MRU_FILE12 "Open this document"
  575. ID_FILE_MRU_FILE13 "Open this document"
  576. ID_FILE_MRU_FILE14 "Open this document"
  577. ID_FILE_MRU_FILE15 "Open this document"
  578. ID_FILE_MRU_FILE16 "Open this document"
  579. END
  580. STRINGTABLE DISCARDABLE
  581. BEGIN
  582. ID_NEXT_PANE "Switch to the next window pane\nNext Pane"
  583. ID_PREV_PANE "Switch back to the previous window pane\nPrevious Pane"
  584. END
  585. STRINGTABLE DISCARDABLE
  586. BEGIN
  587. ID_WINDOW_NEW "Open another window for the active document\nNew Window"
  588. ID_WINDOW_ARRANGE "Arrange icons at the bottom of the window\nArrange Icons"
  589. ID_WINDOW_CASCADE "Arrange windows so they overlap\nCascade Windows"
  590. ID_WINDOW_TILE_HORZ "Arrange windows as non-overlapping tiles\nTile Windows"
  591. ID_WINDOW_TILE_VERT "Arrange windows as non-overlapping tiles\nTile Windows"
  592. ID_WINDOW_SPLIT "Split the active window into panes\nSplit"
  593. END
  594. STRINGTABLE DISCARDABLE
  595. BEGIN
  596. ID_EDIT_CLEAR "Erase the selection\nErase"
  597. ID_EDIT_CLEAR_ALL "Erase everything\nErase All"
  598. ID_EDIT_COPY "Copy the selection and put it on the Clipboard\nCopy"
  599. ID_EDIT_CUT "Cut the selection and put it on the Clipboard\nCut"
  600. ID_EDIT_FIND "Find the specified text\nFind"
  601. ID_EDIT_PASTE "Insert Clipboard contents\nPaste"
  602. ID_EDIT_REPEAT "Repeat the last action\nRepeat"
  603. ID_EDIT_REPLACE "Replace specific text with different text\nReplace"
  604. ID_EDIT_SELECT_ALL "Select the entire document\nSelect All"
  605. ID_EDIT_UNDO "Undo the last action\nUndo"
  606. ID_EDIT_REDO "Redo the previously undone action\nRedo"
  607. END
  608. STRINGTABLE DISCARDABLE
  609. BEGIN
  610. ID_VIEW_TOOLBAR "Show or hide the toolbar\nToggle ToolBar"
  611. ID_VIEW_STATUS_BAR "Show or hide the status bar\nToggle StatusBar"
  612. END
  613. STRINGTABLE DISCARDABLE
  614. BEGIN
  615. AFX_IDS_SCSIZE "Change the window size"
  616. AFX_IDS_SCMOVE "Change the window position"
  617. AFX_IDS_SCMINIMIZE "Reduce the window to an icon"
  618. AFX_IDS_SCMAXIMIZE "Enlarge the window to full size"
  619. AFX_IDS_SCNEXTWINDOW "Switch to the next document window"
  620. AFX_IDS_SCPREVWINDOW "Switch to the previous document window"
  621. AFX_IDS_SCCLOSE "Close the active window and prompts to save the documents"
  622. END
  623. STRINGTABLE DISCARDABLE
  624. BEGIN
  625. AFX_IDS_SCRESTORE "Restore the window to normal size"
  626. AFX_IDS_SCTASKLIST "Activate Task List"
  627. AFX_IDS_MDICHILD "Activate this window"
  628. END
  629. STRINGTABLE DISCARDABLE
  630. BEGIN
  631. AFX_IDS_PREVIEW_CLOSE "Close print preview mode\nCancel Preview"
  632. IDS_WIAERROR_DEVICEBUSY "Device is busy"
  633. IDS_WIAERROR_GENERAL "There was a general device failure"
  634. IDS_WIAERROR_PAPERJAM "The paper path is jammed"
  635. IDS_WIAERROR_PAPEREMPTY "There are no documents in the input tray to scan"
  636. IDS_WIAERROR_PAPERPROBLEM
  637. "There is a general problem with the input document"
  638. IDS_WIAERROR_DEVICEOFFLINE "The device is offline"
  639. IDS_WIAERROR_WARMINGUP "The device is still warming up"
  640. IDS_WIAERROR_USERINTERVENTION "The user has paused or stopped the device"
  641. IDS_WIAERROR_ITEMDELETED "An operation was attempted on a deleted item"
  642. IDS_WIAERROR_DEVICECOMMUNICATION
  643. "There is a problem communicating with the device"
  644. END
  645. STRINGTABLE DISCARDABLE
  646. BEGIN
  647. IDS_WIAERROR_INVALIDCOMMAND
  648. "An invalid command has been sent to this device"
  649. IDS_WIAERROR_DIALOGTITLE "WIATEST Error"
  650. IDS_WIATESTERROR_COCREATEWIADEVMGR
  651. "CoCreateInstance failed trying to create the WIA device manager\n1. WIA may NOT be supported on this version of Windows.\n2. WIA may NOT be installed on the system correctly."
  652. IDS_WIATESTERROR_CREATEDEVICE
  653. "CreateDevice failed trying to create a WIA device"
  654. IDS_WIATESTCOLUMN_PROPERTY "Property Name"
  655. IDS_WIATESTCOLUMN_VARTYPE "VT"
  656. IDS_WIATESTCOLUMN_VALUE "Value"
  657. IDS_WIATESTCOLUMN_ACCESSFLAGS "Access"
  658. IDS_WIATESTERROR_ITEMNOTFOUND
  659. "Could not find the requested IWiaItem in the Item tree"
  660. IDS_WIATESTERROR_WRITING_PROPERTY
  661. "There was an error writing this property"
  662. IDS_WIATESTWARNING_ADDITIONAL_PROPERTY
  663. "Please check the value of this property. (Writing the property was successful)"
  664. IDS_WIATESTERROR_ENUMFORMATS
  665. "There was an error enumerating supported formats from this device."
  666. IDS_WIATESTERROR_IWIADATATRANSFER
  667. "QueryInterface failed for IWiaDataTransfer interface."
  668. IDS_WIATESTERROR_NOTIMPLEMENTED
  669. "Sorry, this functionality is not implemented."
  670. IDS_WIATESTINFO_SYSTEMTIME_FORMATTING
  671. "Format SYSTEMTIME: ( YYYY:MM:W:DD:HH:MM:SS:ms )"
  672. IDS_WIATESTCOLUMN_CAPABILITYNAME "Name"
  673. END
  674. STRINGTABLE DISCARDABLE
  675. BEGIN
  676. IDM_ACQUIREIMAGE "Acquire an image from the device\nAcquire Image"
  677. IDM_LOAD_WIAPROPERTYSTREAM
  678. "Load a WIA Property Stream File from disk\nLoad Property Stream"
  679. IDM_SAVE_WIAPROPERTYSTREAM
  680. "Save a WIA Property Stream File to disk\nSave Property Stream"
  681. IDM_VIEW_CAPABILITIES "Show device capabilities\nView Capabilities"
  682. IDM_DELETE_ITEM "Delete an item (image) from the device\nDelete Item"
  683. IDM_ACQUIREIMAGE_COMMONUI
  684. "Acquire an image from the device using a User Interface\nAcquire Image (User Interface)"
  685. IDM_EDIT_DEBUGOUT "Enable or Disable debugger output\nDebug Toggle"
  686. IDM_DOCUMENT_ACQUISITION_SETTINGS
  687. "Configure device for Document Acquisition\nDocument Acquisition Settings"
  688. END
  689. STRINGTABLE DISCARDABLE
  690. BEGIN
  691. IDS_WIATESTCOLUMN_CAPABILITYDESCRIPTION "Description"
  692. IDS_WIATESTCOLUMN_CAPABILITYTYPE "Type"
  693. IDS_WIATESTCOLUMN_CAPABILITYVALUE "Value"
  694. IDS_WIATESTEVENT "Event"
  695. IDS_WIATESTCOMMAND "Command"
  696. IDS_WIATESTERROR_ACQUISITION
  697. "An error has occurred during data acquisition"
  698. IDS_WIATESTERROR_CANCEL_ACQUISITION "The acquistion has been cancelled."
  699. IDS_WIATESTERROR_WRITINGTYMED
  700. "An error occurred while writing the selected TYMED (Media Type Property) to the device."
  701. IDS_WIATESTERROR_WRITINGFORMAT
  702. "An error occurred while writing the selected format to the device."
  703. IDS_WIATESTERROR_UNSUPPORTEDTYMED
  704. "The specified TYMED (Media Type Property) value is unsupported."
  705. IDS_WIATESTERROR_READINGTYMED
  706. "An error occurred while reading TYMED (Media Type Property) from the device"
  707. IDS_WIATESTERROR_READINGMINBUFFERSIZE
  708. "An error occurred while reading the minimum buffer size (Buffer Buffer Size Property) from the device."
  709. IDS_WIATEST_MEMORYTRANSFER_FILENAME "wiatest.mem"
  710. IDS_WIATEST_FILETRANSFER_FILENAME "wiatest.fil"
  711. IDS_WIATESTERROR_UNKNOWN_IMAGEFORMAT
  712. "This image format is unknown to wiatest.\nA proper file extension has not been placed on this file.\nPlease look in your temp directory for ""wiatest.fil"" (file transfer data) and ""wiatest.mem"" (memory transfer data) files."
  713. IDS_WIATESTERROR_SYSTEMTIMEFORMATTING
  714. "Please format the SYSTEMTIME string properly for property setting.\nFormat SYSTEMTIME: ( YYYY:MM:W:DD:HH:MM:SS:ms )"
  715. END
  716. STRINGTABLE DISCARDABLE
  717. BEGIN
  718. IDS_WIATESTERROR_DEVICECOMMAND
  719. "An error occurred while sending a command to the device."
  720. IDS_WIATESTERROR_NOCOMMANDGUID
  721. "An error occurred while acquiring the command GUID."
  722. IDS_WIATESTSUCCESS_COMMAND
  723. "The command was successfully sent to the device."
  724. IDS_WIATESTERROR_DELETEROOTITEM
  725. "Deleting the Root Item is not a good idea."
  726. IDS_WIATESTERROR_READINGFORMAT
  727. "An error occurred while reading the format from the device."
  728. IDS_WIATESTERROR_THUMBNAILHEIGHT
  729. "An error occurred while reading thumbnail height."
  730. IDS_WIATESTERROR_THUMBNAILWIDTH
  731. "An error occurred while reading thumbnail width."
  732. IDS_WIATESTERROR_THUMBNAILDATA
  733. "An error occurred while reading thumbnail data."
  734. IDS_WIATESTERROR_REGISTER_EVENT_CALLBACK
  735. "An error occurrect while registering for (callback) events."
  736. IDS_WIATESTSTATUS_REGISTER_EVENT_DEVICE_CONNECTED
  737. "A Device Connected Event was detected."
  738. IDS_WIATESTSTATUS_REGISTER_EVENT_DEVICE_DISCONNECTED
  739. "A Device Disconnected Event was detected."
  740. IDS_WIATESTSTATUS_REGISTER_EVENT_ITEM_CREATED
  741. "An Item Created Event was detected."
  742. IDS_WIATESTSTATUS_REGISTER_EVENT_ITEM_DELETED
  743. "An Item Deleted Event was detected."
  744. IDS_WIATESTSTATUS_REGISTER_EVENT_STORAGE_CREATED
  745. "A Storage Created Event was detected."
  746. IDS_WIATESTSTATUS_REGISTER_EVENT_STORAGE_DELETED
  747. "A Storage Deleted Event was detected."
  748. IDS_WIATESTSTATUS_REGISTER_EVENT_TREE_UPDATED
  749. "A Tree updated Event was detected."
  750. END
  751. STRINGTABLE DISCARDABLE
  752. BEGIN
  753. IDS_WIATESTSTATUS_REGISTER_EVENT_UNKNOWN "An unknown Event was detected."
  754. IDS_MYAPPLICATION_NAME "WIATEST Version 2.0"
  755. IDS_WIATESTERROR_ENUMERATE_PROPERTIES
  756. "An error occurred while enumerating properties from IWiaPropertyStorage."
  757. IDS_WIATESTERROR_READINGTYMED_EXIST
  758. "Could no t find TYMED (Media Type Property)."
  759. IDS_WIATESTWARNING_NEGATIVE_HEIGHTBITMAP
  760. "The transferred uncompressed bitmap data has reported a negative height.\nThis tells the calling application that the data is being received upside down.\nWIATEST will not flip the image for displaying.\nThe image will be displayed in the same form at it came off the device for debugging purposes."
  761. IDS_WIATESTSAVEPROPSTREAM_DIALOGTITLE
  762. "Save a WIA Property Stream to a .WIA file"
  763. IDS_WIATESTLOADPROPSTREAM_DIALOGTITLE
  764. "Load a WIA Property Stream from a .WIA file"
  765. IDS_WIATESTERROR_READPROPERTYSTREAMFILE
  766. "An error occurred while reading a WIA Property stream from the selected item."
  767. IDS_WIATESTERROR_WRITEPROPERTYSTREAMFILE
  768. "An error occurred while writing a WIA Property stream to the selected item."
  769. IDS_WIASTATUS_DIALOGTITLE "WIATEST Status"
  770. IDS_WIATESTERROR_DEVICEID
  771. "An error occurred while reading the Device ID string"
  772. IDS_WIATESTERROR_WIAPROPERTYSTORAGE
  773. "An error occurred while calling Query Interface on IWiaPropertyStorage."
  774. IDS_WIATEST_DOCUMENT_SETTINGS_TITLE "Document Acquisition Configuration"
  775. END
  776. STRINGTABLE DISCARDABLE
  777. BEGIN
  778. IDS_WIATESTERROR_WRITINGDOCHANDLINGSELECT
  779. "An error occurred while writing Document Handling Select."
  780. IDS_WIATESTERROR_WRITINGPAGES
  781. "An error occurred while writing number of pages to acquire, (Pages Property)."
  782. IDS_WIATESTERROR_READINGDOCHANDLINGSELECT
  783. "An error occurred while reading Document Handling Select."
  784. IDS_WIATESTERROR_READINGPAGES
  785. "An error occurred while reading number of pages to acquire, (Pages Property)."
  786. IDS_WIATESTWARNING_ZERO_HEIGHTBITMAP
  787. "The transferred uncompressed bitmap data has reported a zero height.\nThis tells the calling application that the data being received has an unknown length.\nWIATEST will try to calculate the transferred image length and update the image header for displaying."
  788. IDS_WIATESTERROR_PROCESSING_THUMBNAILDATA
  789. "An error occured while processing Thumbnail data.\nCalculated thumbnail data Size = %d bytes\nActual thumbnail data size = %d bytes"
  790. END
  791. #endif // English (U.S.) resources
  792. /////////////////////////////////////////////////////////////////////////////
  793. #ifndef APSTUDIO_INVOKED
  794. /////////////////////////////////////////////////////////////////////////////
  795. //
  796. // Generated from the TEXTINCLUDE 3 resource.
  797. //
  798. #define _AFX_NO_SPLITTER_RESOURCES
  799. #define _AFX_NO_OLE_RESOURCES
  800. #define _AFX_NO_TRACKER_RESOURCES
  801. #define _AFX_NO_PROPERTY_RESOURCES
  802. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  803. #ifdef _WIN32
  804. LANGUAGE 9, 1
  805. #pragma code_page(1252)
  806. #endif //_WIN32
  807. #include "res\wiatest.rc2" // non-Microsoft Visual C++ edited resources
  808. #include "afxres.rc" // Standard components
  809. #include "afxprint.rc" // printing/print preview resources
  810. #endif
  811. /////////////////////////////////////////////////////////////////////////////
  812. #endif // not APSTUDIO_INVOKED