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.

354 lines
13 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 <winresrc.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. #ifndef _MAC
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // Version
  23. //
  24. VS_VERSION_INFO VERSIONINFO
  25. FILEVERSION 5,0,1770,1
  26. PRODUCTVERSION 5,0,1770,1
  27. FILEFLAGSMASK 0x3fL
  28. #ifdef _DEBUG
  29. FILEFLAGS 0x1L
  30. #else
  31. FILEFLAGS 0x0L
  32. #endif
  33. FILEOS 0x40004L
  34. FILETYPE 0x1L
  35. FILESUBTYPE 0x0L
  36. BEGIN
  37. BLOCK "StringFileInfo"
  38. BEGIN
  39. BLOCK "040904b0"
  40. BEGIN
  41. VALUE "Comments", "\0"
  42. VALUE "CompanyName", "Microsoft Corporation\0"
  43. VALUE "FileDescription", "Various Unit Tests\0"
  44. VALUE "FileVersion", "5.00.1770.1\0"
  45. VALUE "InternalName", "testacqd.exe\0"
  46. VALUE "LegalCopyright", "Copyright (C) Microsoft Corp. 1981-1998\0"
  47. VALUE "LegalTrademarks", "\0"
  48. VALUE "OriginalFilename", "testacqd.exe\0"
  49. VALUE "PrivateBuild", "\0"
  50. VALUE "ProductName", "Microsoft(R) Windows NT(R) Operating System\0"
  51. VALUE "ProductVersion", "5.00.1770.1\0"
  52. VALUE "SpecialBuild", "\0"
  53. END
  54. END
  55. BLOCK "VarFileInfo"
  56. BEGIN
  57. VALUE "Translation", 0x409, 1200
  58. END
  59. END
  60. #endif // !_MAC
  61. /////////////////////////////////////////////////////////////////////////////
  62. //
  63. // Icon
  64. //
  65. // Icon with lowest ID value placed first to ensure application icon
  66. // remains consistent on all systems.
  67. IDI_TESTACQD ICON DISCARDABLE "testacqd.ico"
  68. #ifdef APSTUDIO_INVOKED
  69. /////////////////////////////////////////////////////////////////////////////
  70. //
  71. // TEXTINCLUDE
  72. //
  73. 1 TEXTINCLUDE DISCARDABLE
  74. BEGIN
  75. "resource.h\0"
  76. END
  77. 2 TEXTINCLUDE DISCARDABLE
  78. BEGIN
  79. "#include <winresrc.h>\0"
  80. END
  81. 3 TEXTINCLUDE DISCARDABLE
  82. BEGIN
  83. "#include ""mboxex.rc""\r\n"
  84. "\0"
  85. END
  86. #endif // APSTUDIO_INVOKED
  87. /////////////////////////////////////////////////////////////////////////////
  88. //
  89. // Menu
  90. //
  91. IDR_TESTACQDMENU MENU DISCARDABLE
  92. BEGIN
  93. POPUP "I&WiaDevMgr"
  94. BEGIN
  95. MENUITEM "&1. IWiaDevMgr::SelectDeviceDlg && IWiaDevMgr::DeviceDlg",
  96. ID_WIA_DEVICEDLG
  97. MENUITEM "&2. IWiaDevMgr::SelectDeviceDlgID", ID_WIA_SELECTDEVICEID
  98. MENUITEM SEPARATOR
  99. MENUITEM "E&xit\tAlt+F4", ID_PROGRAM_EXIT
  100. END
  101. POPUP "Wi&zards (etc.)"
  102. BEGIN
  103. MENUITEM "&1. NetPublishingWizard::RunNetPublishingWizard",
  104. ID_WIZARD_PUBLISH_WIZARD
  105. MENUITEM "&2. RunWiaWizard::RunWizard", ID_WIZARD_ACQUIRE_WIZARD
  106. MENUITEM "&3. WiaUiUtil::ExploreWiaDevice",
  107. ID_WIZARD_EXPLOREWIADEVICE
  108. END
  109. POPUP "C&GdiPlusHelper"
  110. BEGIN
  111. MENUITEM "&1. Rotate( pszInputFilename, pszOutputFilename, nRotationAngle, guidOutputFormat ) [non-JPEG]",
  112. ID_GDI_ROTATEFILENONJPEG
  113. MENUITEM "&2. Rotate( pszInputFilename, pszOutputFilename, nRotationAngle, guidOutputFormat ) [JPEG]",
  114. ID_GDI_ROTATEFILEJPEG
  115. MENUITEM "&3. Rotate( hSourceBitmap, hTargetBitmap, nRotation )",
  116. ID_GDI_ROTATEHBITMAP
  117. MENUITEM "&4. LoadAndScale( hTargetBitmap, pszFilename, nMaxWidth, nMaxHeight, bStretchSmallImages )",
  118. ID_GDI_LOADANDSCALEIMAGE
  119. MENUITEM "&5. LoadAndScale( hTargetBitmap, pStream, nMaxWidth, nMaxHeight, bStretchSmallImages )",
  120. ID_GDI_LOADANDSCALESTREAM
  121. MENUITEM "&6. Convert( pszInputFilename, pszOutputFilename, guidOutputFormat )",
  122. ID_GDI_CONVERTFILE
  123. MENUITEM "&7. ConstructDecoderExtensionSearchStrings( strExtensions )",
  124. ID_GDI_DISPLAYDECODEREXTENSIONS
  125. MENUITEM "&8. ConstructEncoderExtensionSearchStrings( strExtensions )",
  126. ID_GDI_DISPLAYENCODEREXTENSIONS
  127. MENUITEM "&9. SaveMultipleImagesAsMultiPage( Filenames, strFilename, guidOutputFormat )",
  128. ID_GDI_SAVEMULTIPLEIMAGESASMULTIPAGE
  129. MENUITEM "1&0. SetContrast( hSrcBitmap, hTgtBitmap, nContrast )\tLeft and Right Arrows",
  130. ID_GDI_SETCONTRAST
  131. MENUITEM "11. Set&Brightness( hSrcBitmap, hTgtBitmap, nBrightness )\tUp and Down Arrows",
  132. ID_GDI_SETBRIGHTNESS
  133. MENUITEM "12. &SetThreshold( hSrcBitmap, hTgtBitmap, nThreshold )\tPage Up and Page Down",
  134. ID_GDI_SETTHRESHOLD
  135. END
  136. POPUP "C&MessageBoxEx"
  137. BEGIN
  138. MENUITEM "&1. MessageBox( hWndParent, pszMessage, pszTitle, nFlags, bHideFutureMessages )",
  139. ID_MBOX_FORM1
  140. MENUITEM "&2. MessageBox( hWndParent, pszMessage, pszTitle, nFlags )",
  141. ID_MBOX_FORM2
  142. MENUITEM "&3. MessageBox( pszMessage, pszTitle, nFlags )",
  143. ID_MBOX_FORM3
  144. MENUITEM "&4. MessageBox( hWndParent, hInstance, nMessageId, nTitleId, nFlags, bHideFutureMessages )",
  145. ID_MBOX_FORM4
  146. MENUITEM "&5. MessageBox( hWndParent, pszTitle, nFlags, pszFormat, ... )",
  147. ID_MBOX_FORM5
  148. MENUITEM "&6. MessageBox( hWndParent, pszTitle, nFlags, bHideFutureMessages, pszFormat, ... )",
  149. ID_MBOX_FORM6
  150. MENUITEM "&7. MessageBox( hWndParent, hInstance, nTitleId, nFlags, nFormatId, ... )",
  151. ID_MBOX_FORM7
  152. MENUITEM SEPARATOR
  153. MENUITEM "&8. Set CMessageBoxEx flags", ID_MBOX_SETFLAGS
  154. END
  155. POPUP "IWia&ProgressDialog"
  156. BEGIN
  157. MENUITEM "&1. Progress dialog", ID_PROGRESS_TESTPROGRESS
  158. MENUITEM SEPARATOR
  159. MENUITEM "&2. Set Progress dialog flags", ID_PROGRESS_SETFLAGS
  160. END
  161. POPUP "&Universal PNP"
  162. BEGIN
  163. MENUITEM "&1. Find server and register callback",
  164. ID_UPNP_FINDSERVERANDREGISTER
  165. MENUITEM "&2. Unregister callback", ID_UPNP_STOP
  166. END
  167. END
  168. /////////////////////////////////////////////////////////////////////////////
  169. //
  170. // Accelerator
  171. //
  172. IDR_TESTACQDACCEL ACCELERATORS DISCARDABLE
  173. BEGIN
  174. "A", ID_WIA_DEVICEDLG, VIRTKEY, CONTROL, NOINVERT
  175. "F", ID_PROGRESS_SETFLAGS, VIRTKEY, CONTROL, NOINVERT
  176. "I", ID_WIA_SELECTDEVICEID, VIRTKEY, CONTROL, NOINVERT
  177. "P", ID_PROGRESS_TESTPROGRESS, VIRTKEY, CONTROL, NOINVERT
  178. "Q", ID_WIZARD_ACQUIRE_WIZARD, VIRTKEY, CONTROL, NOINVERT
  179. "S", ID_WIA_SELECTDEVICEID, VIRTKEY, CONTROL, NOINVERT
  180. VK_DOWN, ID_GDI_DECREASEBRIGHTNESS, VIRTKEY, NOINVERT
  181. VK_LEFT, ID_GDI_DECREASECONTRAST, VIRTKEY, NOINVERT
  182. VK_NEXT, ID_GDI_DECREASETHRESHOLD, VIRTKEY, NOINVERT
  183. VK_PRIOR, ID_GDI_INCREASETHRESHOLD, VIRTKEY, NOINVERT
  184. VK_RIGHT, ID_GDI_INCREASECONTRAST, VIRTKEY, NOINVERT
  185. VK_UP, ID_GDI_INCREASEBRIGHTNESS, VIRTKEY, NOINVERT
  186. "W", ID_WIZARD_PUBLISH_WIZARD, VIRTKEY, CONTROL, NOINVERT
  187. END
  188. /////////////////////////////////////////////////////////////////////////////
  189. //
  190. // Dialog
  191. //
  192. IDD_PROGRESS_DIALOG_SETTINGS DIALOG DISCARDABLE 0, 0, 255, 157
  193. STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
  194. CAPTION "Progress Dialog Flags"
  195. FONT 8, "MS Shell Dlg"
  196. BEGIN
  197. CONTROL "Show Title",IDC_PROGDLG_TITLE,"Button",BS_AUTOCHECKBOX |
  198. WS_GROUP | WS_TABSTOP,7,7,91,10
  199. CONTROL "Show Progress",IDC_PROGDLG_PROGRESS,"Button",
  200. BS_AUTOCHECKBOX | WS_TABSTOP,7,20,91,10
  201. CONTROL "Allow Cancel",IDC_PROGDLG_CANCEL,"Button",
  202. BS_AUTOCHECKBOX | WS_TABSTOP,7,33,91,10
  203. CONTROL "Show Animation",IDC_PROGDLG_ANIM,"Button",
  204. BS_AUTOCHECKBOX | WS_TABSTOP,7,46,91,10
  205. CONTROL "Scanner connection",IDC_PROGDLG_SCAN_CONNECT,"Button",
  206. BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,27,59,91,10
  207. CONTROL "Camera connection",IDC_PROGDLG_CAMERA_CONNECT,"Button",
  208. BS_AUTORADIOBUTTON,27,71,91,10
  209. CONTROL "Video connection",IDC_PROGDLG_VIDEO_CONNECT,"Button",
  210. BS_AUTORADIOBUTTON,27,83,91,10
  211. CONTROL "Scanner acquire",IDC_PROGDLG_SCAN_ACQUIRE,"Button",
  212. BS_AUTORADIOBUTTON,27,95,91,10
  213. CONTROL "Camera acquire",IDC_PROGDLG_CAMERA_ACQUIRE,"Button",
  214. BS_AUTORADIOBUTTON,27,107,91,10
  215. CONTROL "Video acquire",IDC_PROGDLG_VIDEO_ACQUIRE,"Button",
  216. BS_AUTORADIOBUTTON,27,119,91,10
  217. CONTROL "Default device connection",IDC_PROGDLG_DEFAULT_CONNECT,
  218. "Button",BS_AUTORADIOBUTTON,27,131,106,10
  219. DEFPUSHBUTTON "OK",IDOK,198,7,50,14,WS_GROUP
  220. PUSHBUTTON "Cancel",IDCANCEL,198,24,50,14
  221. END
  222. IDD_MBOXFLAGS DIALOG DISCARDABLE 0, 0, 237, 246
  223. STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
  224. CAPTION "Message Box Flags"
  225. FONT 8, "MS Shell Dlg"
  226. BEGIN
  227. GROUPBOX "&Buttons",IDC_STATIC,7,7,164,75,WS_GROUP
  228. CONTROL "MBEX_OK",IDC_MBEX_OK,"Button",BS_AUTORADIOBUTTON |
  229. WS_TABSTOP,16,17,133,10
  230. CONTROL "MBEX_OKCANCEL",IDC_MBEX_OKCANCEL,"Button",
  231. BS_AUTORADIOBUTTON,16,29,133,10
  232. CONTROL "MBEX_YESNO",IDC_MBEX_YESNO,"Button",BS_AUTORADIOBUTTON,
  233. 16,41,133,10
  234. CONTROL "MBEX_CANCELRETRYSKIPSKIPALL",
  235. IDC_MBEX_CANCELRETRYSKIPSKIPALL,"Button",
  236. BS_AUTORADIOBUTTON,16,53,133,10
  237. CONTROL "MBEX_YESYESTOALLNONOTOALL",
  238. IDC_MBEX_YESYESTOALLNONOTOALL,"Button",
  239. BS_AUTORADIOBUTTON,16,65,133,10
  240. GROUPBOX "&Default button",IDC_STATIC,7,89,164,75,WS_GROUP
  241. CONTROL "MBEX_DEFBUTTON1",IDC_MBEX_DEFBUTTON1,"Button",
  242. BS_AUTORADIOBUTTON | WS_TABSTOP,15,101,133,10
  243. CONTROL "MBEX_DEFBUTTON2",IDC_MBEX_DEFBUTTON2,"Button",
  244. BS_AUTORADIOBUTTON,15,113,133,10
  245. CONTROL "MBEX_DEFBUTTON3",IDC_MBEX_DEFBUTTON3,"Button",
  246. BS_AUTORADIOBUTTON,15,125,133,10
  247. CONTROL "MBEX_DEFBUTTON4",IDC_MBEX_DEFBUTTON4,"Button",
  248. BS_AUTORADIOBUTTON,15,137,133,10
  249. CONTROL "MBEX_DEFBUTTON5",IDC_MBEX_DEFBUTTON5,"Button",
  250. BS_AUTORADIOBUTTON,15,149,133,10
  251. GROUPBOX "&Icon",IDC_STATIC,7,172,164,66,WS_GROUP
  252. CONTROL "MBEX_ICONWARNING",IDC_MBEX_ICONWARNING,"Button",
  253. BS_AUTORADIOBUTTON | WS_TABSTOP,13,184,133,10
  254. CONTROL "MBEX_ICONINFORMATION",IDC_MBEX_ICONINFORMATION,"Button",
  255. BS_AUTORADIOBUTTON,13,198,133,10
  256. CONTROL "MBEX_ICONQUESTION",IDC_MBEX_ICONQUESTION,"Button",
  257. BS_AUTORADIOBUTTON,13,211,133,10
  258. CONTROL "MBEX_ICONERROR",IDC_MBEX_ICONERROR,"Button",
  259. BS_AUTORADIOBUTTON,13,224,133,10
  260. PUSHBUTTON "OK",IDOK,180,7,50,14
  261. PUSHBUTTON "Cancel",IDCANCEL,180,25,50,14
  262. END
  263. /////////////////////////////////////////////////////////////////////////////
  264. //
  265. // DESIGNINFO
  266. //
  267. #ifdef APSTUDIO_INVOKED
  268. GUIDELINES DESIGNINFO DISCARDABLE
  269. BEGIN
  270. IDD_PROGRESS_DIALOG_SETTINGS, DIALOG
  271. BEGIN
  272. LEFTMARGIN, 7
  273. RIGHTMARGIN, 248
  274. TOPMARGIN, 7
  275. BOTTOMMARGIN, 150
  276. END
  277. IDD_MBOXFLAGS, DIALOG
  278. BEGIN
  279. LEFTMARGIN, 7
  280. RIGHTMARGIN, 230
  281. TOPMARGIN, 7
  282. BOTTOMMARGIN, 239
  283. END
  284. END
  285. #endif // APSTUDIO_INVOKED
  286. /////////////////////////////////////////////////////////////////////////////
  287. //
  288. // Bitmap
  289. //
  290. IDB_TESTIMAGE BITMAP DISCARDABLE "testimg.bmp"
  291. /////////////////////////////////////////////////////////////////////////////
  292. //
  293. // String Table
  294. //
  295. STRINGTABLE DISCARDABLE
  296. BEGIN
  297. IDS_MESSAGEBOXTESTMESSAGE "IDS_MESSAGEBOXTESTMESSAGE"
  298. IDS_MESSAGEBOXTESTTITLE "IDS_MESSAGEBOXTESTTITLE"
  299. IDS_MESSAGEBOXTESTFORMAT
  300. "IDS_MESSAGEBOXTESTFORMAT: String: ""%s"", Number: %d"
  301. END
  302. #endif // English (U.S.) resources
  303. /////////////////////////////////////////////////////////////////////////////
  304. #ifndef APSTUDIO_INVOKED
  305. /////////////////////////////////////////////////////////////////////////////
  306. //
  307. // Generated from the TEXTINCLUDE 3 resource.
  308. //
  309. #include "mboxex.rc"
  310. /////////////////////////////////////////////////////////////////////////////
  311. #endif // not APSTUDIO_INVOKED