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.

295 lines
9.3 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\\MSQSCAN.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
  46. "#include ""afxres.rc"" // Standard components\r\n"
  47. "#endif\r\n"
  48. "\0"
  49. END
  50. #endif // APSTUDIO_INVOKED
  51. /////////////////////////////////////////////////////////////////////////////
  52. //
  53. // Icon
  54. //
  55. // Icon with lowest ID value placed first to ensure application icon
  56. // remains consistent on all systems.
  57. IDR_MAINFRAME ICON DISCARDABLE "res\\MSQSCAN.ico"
  58. /////////////////////////////////////////////////////////////////////////////
  59. //
  60. // Dialog
  61. //
  62. IDD_MSQSCAN_DIALOG DIALOGEX 0, 0, 349, 282
  63. STYLE DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION |
  64. WS_SYSMENU
  65. EXSTYLE WS_EX_APPWINDOW
  66. CAPTION "Microsoft Quick Scan"
  67. MENU IDR_MSQSCAN_MENU
  68. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  69. BEGIN
  70. DEFPUSHBUTTON "Preview",IDC_PREVIEW_BUTTON,196,241,46,14
  71. PUSHBUTTON "Acquire",IDC_SCAN_BUTTON,246,241,46,14
  72. COMBOBOX IDC_DATATYPE_COMBO,201,52,131,71,CBS_DROPDOWNLIST |
  73. WS_VSCROLL | WS_TABSTOP
  74. COMBOBOX IDC_IMAGE_FILETYPE_COMBO,201,131,131,59,CBS_DROPDOWNLIST |
  75. WS_VSCROLL | WS_TABSTOP
  76. CONTROL "Slider1",IDC_BRIGHTNESS_SLIDER,"msctls_trackbar32",
  77. TBS_AUTOTICKS | WS_TABSTOP,201,160,131,19
  78. CONTROL "Slider1",IDC_CONTRAST_SLIDER,"msctls_trackbar32",
  79. TBS_AUTOTICKS | WS_TABSTOP,201,202,131,19
  80. PUSHBUTTON "Close",IDCANCEL,296,241,46,14
  81. CONTROL "",IDC_PREVIEW_WINDOW,"Static",SS_BLACKFRAME | NOT
  82. WS_VISIBLE,6,4,188,271
  83. LTEXT "Select a brightness setting",IDC_STATIC,201,150,133,8
  84. LTEXT "Select an image file type",IDC_STATIC,201,119,134,8
  85. LTEXT "Select a resolution setting",IDC_STATIC,201,76,134,8
  86. LTEXT "Select a data type",IDC_STATIC,201,41,134,8
  87. GROUPBOX "Scanner settings",IDC_STATIC,197,0,145,239
  88. LTEXT "-127",IDC_MIN_BRIGHTNESS,203,182,15,8
  89. LTEXT "+127",IDC_MAX_BRIGHTNESS,317,182,17,8
  90. LTEXT "Select a contrast setting",IDC_STATIC,201,192,134,8
  91. LTEXT "-127",IDC_MIN_CONTRAST,203,224,15,8
  92. LTEXT "+127",IDC_MAX_CONTRAST,317,224,17,8
  93. EDITTEXT IDC_EDIT_XRES,212,99,40,14,ES_AUTOHSCROLL | ES_NUMBER
  94. EDITTEXT IDC_EDIT_YRES,281,99,40,14,ES_AUTOHSCROLL | ES_NUMBER
  95. LTEXT "X ",IDC_STATIC,201,102,8,8
  96. LTEXT "Y",IDC_STATIC,270,102,8,8
  97. CONTROL "Spin1",IDC_EDIT_XRES_SPIN_BUDDY,"msctls_updown32",
  98. UDS_SETBUDDYINT | UDS_ARROWKEYS,254,99,11,14
  99. CONTROL "Spin1",IDC_EDIT_YRES_SPIN_BUDDY,"msctls_updown32",
  100. UDS_SETBUDDYINT | UDS_ARROWKEYS,323,99,11,14
  101. CONTROL "Edit Both Resolutions",IDC_CHANGE_BOTH_CHECKBOX,"Button",
  102. BS_AUTOCHECKBOX | WS_TABSTOP,201,87,133,10
  103. CONTROL "Send acquired data to a file",IDC_DATA_TO_FILE,"Button",
  104. BS_AUTORADIOBUTTON,201,16,111,10
  105. CONTROL "Send acquired data to clipboard",IDC_DATA_TO_CLIPBOARD,
  106. "Button",BS_AUTORADIOBUTTON,201,28,134,10
  107. CONTROL 130,IDC_MSLOGO,"Static",SS_BITMAP | SS_CENTERIMAGE |
  108. SS_REALSIZEIMAGE | SS_SUNKEN | WS_BORDER,274,259,68,16
  109. ICON IDR_MAINFRAME,IDC_STATIC,315,6,21,20
  110. PUSHBUTTON "ADF Settings",IDC_ADF_SETTINGS,196,261,75,14
  111. END
  112. IDD_PROGRESS_DIALOG DIALOG DISCARDABLE 0, 0, 216, 74
  113. STYLE DS_MODALFRAME | DS_SETFOREGROUND | WS_POPUP | WS_CAPTION
  114. CAPTION "Microsoft Quick Scan Progress. . ."
  115. FONT 8, "MS Shell Dlg"
  116. BEGIN
  117. PUSHBUTTON "Cancel",IDC_CANCEL,80,54,50,14
  118. CONTROL "Progress1",IDC_PROGRESS_CONTROL,"msctls_progress32",
  119. WS_BORDER,7,36,202,11
  120. CTEXT "Progress Text goes here",IDC_PROGRESS_TEXT,38,15,137,8
  121. ICON IDR_MAINFRAME,IDC_STATIC,7,7,21,20
  122. END
  123. IDD_ADF_SETTING_DIALOG DIALOG DISCARDABLE 0, 0, 263, 113
  124. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  125. CAPTION "Automatic Document Feeder Settings"
  126. FONT 8, "MS Shell Dlg"
  127. BEGIN
  128. DEFPUSHBUTTON "OK",IDOK,153,92,50,14
  129. PUSHBUTTON "Cancel",IDCANCEL,206,92,50,14
  130. GROUPBOX "Settings",IDC_STATIC,7,7,249,83
  131. LTEXT "Status:",IDC_STATIC,14,21,23,8
  132. CTEXT "This scanner has no document feeder",
  133. IDC_FEEDER_STATUS_TEXT,45,20,206,10,SS_SUNKEN
  134. LTEXT "Mode:",IDC_STATIC,14,35,21,8
  135. COMBOBOX IDC_ADF_MODE_COMBOBOX,45,33,205,55,CBS_DROPDOWNLIST |
  136. WS_VSCROLL | WS_TABSTOP
  137. CONTROL "Scan all pages in the ADF",
  138. IDC_SCAN_ALL_PAGES_RADIOBUTTON,"Button",
  139. BS_AUTORADIOBUTTON,13,60,98,10
  140. CONTROL "Scan a specified number of pages",
  141. IDC_SCAN_SPECIFIED_PAGES_RADIOBUTTON,"Button",
  142. BS_AUTORADIOBUTTON,13,74,123,10
  143. EDITTEXT IDC_NUMBER_OF_PAGES_EDITBOX,143,72,106,14,ES_AUTOHSCROLL
  144. END
  145. #ifndef _MAC
  146. /////////////////////////////////////////////////////////////////////////////
  147. //
  148. // Version
  149. //
  150. VS_VERSION_INFO VERSIONINFO
  151. FILEVERSION 1,0,0,0
  152. PRODUCTVERSION 1,0,0,0
  153. FILEFLAGSMASK 0x3fL
  154. #ifdef _DEBUG
  155. FILEFLAGS 0x1L
  156. #else
  157. FILEFLAGS 0x0L
  158. #endif
  159. FILEOS 0x4L
  160. FILETYPE 0x1L
  161. FILESUBTYPE 0x0L
  162. BEGIN
  163. BLOCK "StringFileInfo"
  164. BEGIN
  165. BLOCK "040904b0"
  166. BEGIN
  167. VALUE "Comments", "This is a Quick scanning application for WIA\0"
  168. VALUE "CompanyName", "Microsoft\0"
  169. VALUE "FileDescription", "MSQSCAN MFC Application\0"
  170. VALUE "FileVersion", "1, 0, 0, 0\0"
  171. VALUE "InternalName", "Microsoft QuickScan Ver 1.00a\0"
  172. VALUE "LegalCopyright", "Copyright (C) 2000\0"
  173. VALUE "LegalTrademarks", "Microsoft Corporation\0"
  174. VALUE "OriginalFilename", "MSQSCAN.EXE\0"
  175. VALUE "PrivateBuild", "\0"
  176. VALUE "ProductName", "MSQSCAN Application\0"
  177. VALUE "ProductVersion", "1, 0, 0, 0\0"
  178. VALUE "SpecialBuild", "\0"
  179. END
  180. END
  181. BLOCK "VarFileInfo"
  182. BEGIN
  183. VALUE "Translation", 0x409, 1200
  184. END
  185. END
  186. #endif // !_MAC
  187. /////////////////////////////////////////////////////////////////////////////
  188. //
  189. // DESIGNINFO
  190. //
  191. #ifdef APSTUDIO_INVOKED
  192. GUIDELINES DESIGNINFO DISCARDABLE
  193. BEGIN
  194. IDD_MSQSCAN_DIALOG, DIALOG
  195. BEGIN
  196. LEFTMARGIN, 6
  197. RIGHTMARGIN, 342
  198. BOTTOMMARGIN, 275
  199. END
  200. IDD_PROGRESS_DIALOG, DIALOG
  201. BEGIN
  202. LEFTMARGIN, 7
  203. RIGHTMARGIN, 209
  204. TOPMARGIN, 7
  205. BOTTOMMARGIN, 67
  206. END
  207. IDD_ADF_SETTING_DIALOG, DIALOG
  208. BEGIN
  209. LEFTMARGIN, 7
  210. RIGHTMARGIN, 256
  211. TOPMARGIN, 7
  212. BOTTOMMARGIN, 106
  213. END
  214. END
  215. #endif // APSTUDIO_INVOKED
  216. /////////////////////////////////////////////////////////////////////////////
  217. //
  218. // Bitmap
  219. //
  220. IDB_MSLOGO_BITMAP BITMAP DISCARDABLE "res\\mslogo.bmp"
  221. STRINGTABLE DISCARDABLE
  222. BEGIN
  223. IDS_MYAPPLICATION_NAME "Microsoft QuickScan 1.0a"
  224. END
  225. /////////////////////////////////////////////////////////////////////////////
  226. //
  227. // Menu
  228. //
  229. IDR_MSQSCAN_MENU MENU DISCARDABLE
  230. BEGIN
  231. POPUP "&File"
  232. BEGIN
  233. MENUITEM "&Select a New Device", ID_FILE_SELECT_DEVICE
  234. MENUITEM "&Exit", ID_FILE_CLOSE
  235. END
  236. END
  237. #endif // English (U.S.) resources
  238. /////////////////////////////////////////////////////////////////////////////
  239. #ifndef APSTUDIO_INVOKED
  240. /////////////////////////////////////////////////////////////////////////////
  241. //
  242. // Generated from the TEXTINCLUDE 3 resource.
  243. //
  244. #define _AFX_NO_SPLITTER_RESOURCES
  245. #define _AFX_NO_OLE_RESOURCES
  246. #define _AFX_NO_TRACKER_RESOURCES
  247. #define _AFX_NO_PROPERTY_RESOURCES
  248. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  249. #ifdef _WIN32
  250. LANGUAGE 9, 1
  251. #pragma code_page(1252)
  252. #endif //_WIN32
  253. #include "res\MSQSCAN.rc2" // non-Microsoft Visual C++ edited resources
  254. #include "afxres.rc" // Standard components
  255. #endif
  256. /////////////////////////////////////////////////////////////////////////////
  257. #endif // not APSTUDIO_INVOKED