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.

209 lines
7.1 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 "windows.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. /////////////////////////////////////////////////////////////////////////////
  20. //
  21. // Dialog
  22. //
  23. IDD_MAIN_DLG DIALOG DISCARDABLE 0, 0, 410, 289
  24. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  25. CAPTION "Dialog"
  26. CLASS "WIAVIDEOTEST"
  27. FONT 8, "MS Shell Dlg"
  28. BEGIN
  29. LTEXT "",IDC_VIDEO_PREVIEW_WINDOW,6,7,311,150,WS_BORDER
  30. LISTBOX IDC_LIST_WIA_DEVICES,6,226,400,24,LBS_NOINTEGRALHEIGHT |
  31. WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
  32. PUSHBUTTON "Create Video (via WIA)",IDC_BUTTON_CREATE_VIDEO_WIA,5,
  33. 158,100,14
  34. PUSHBUTTON "Create Video (via Enum Pos)",
  35. IDC_BUTTON_CREATE_VIDEO_ENUM_POS,106,158,100,14
  36. PUSHBUTTON "Create Video (via Name)",
  37. IDC_BUTTON_CREATE_VIDEO_FRIENDLY_NAME,206,158,100,14
  38. PUSHBUTTON "Destroy Video",IDC_BUTTON_DESTROY_VIDEO,306,158,100,14
  39. PUSHBUTTON "Play",IDC_BUTTON_PLAY,5,173,100,14
  40. PUSHBUTTON "Pause",IDC_BUTTON_PAUSE,105,173,100,14
  41. PUSHBUTTON "Take Picture",IDC_BUTTON_TAKE_PICTURE,206,173,100,14
  42. PUSHBUTTON "Tell Driver To Take Picture",
  43. IDC_BUTTON_TAKE_PICTURE_DRIVER,306,173,100,14
  44. PUSHBUTTON "Toggle Video Visibility",IDC_BUTTON_SHOW_VIDEO_TOGGLE,
  45. 205,188,100,14
  46. PUSHBUTTON "Toggle Video Size",IDC_BUTTON_RESIZE_TOGGLE,306,188,100,
  47. 14
  48. PUSHBUTTON "Take Picture - Stress",IDC_BUTTON_TAKE_PICTURE_STRESS,5,
  49. 188,100,14
  50. LTEXT "Current State:",IDC_STATIC,322,4,83,10
  51. LTEXT "Images Directory:",IDC_STATIC,322,28,83,10
  52. LISTBOX IDC_LIST_NEW_IMAGES,6,251,400,34,LBS_SORT |
  53. LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL |
  54. WS_TABSTOP
  55. EDITTEXT IDC_EDIT_IMAGES_DIR,321,39,84,13,ES_LOWERCASE |
  56. ES_AUTOHSCROLL | ES_READONLY
  57. EDITTEXT IDC_EDIT_CURRENT_STATE,321,14,84,13,ES_AUTOHSCROLL |
  58. ES_READONLY
  59. PUSHBUTTON "Take Picture - Multiple",
  60. IDC_BUTTON_TAKE_PICTURE_MULTIPLE,105,188,100,14
  61. LTEXT "# Active Stress Threads",IDC_STATIC,322,54,83,10
  62. EDITTEXT IDC_EDIT_NUM_STRESS_THREADS,321,66,84,13,ES_LOWERCASE |
  63. ES_AUTOHSCROLL | ES_READONLY
  64. LTEXT "# Pictures Taken",IDC_STATIC,322,80,83,10
  65. EDITTEXT IDC_EDIT_NUM_PICTURES_TAKEN,321,90,84,13,ES_LOWERCASE |
  66. ES_AUTOHSCROLL | ES_READONLY
  67. LTEXT "Graph Build Time (ms):",IDC_STATIC,322,104,83,10
  68. EDITTEXT IDC_EDIT_GRAPH_BUILD_TIME,320,114,84,13,ES_LOWERCASE |
  69. ES_AUTOHSCROLL | ES_READONLY | ES_NUMBER
  70. LTEXT "List Load Time (ms):",IDC_STATIC,322,128,83,10
  71. EDITTEXT IDC_EDIT_LIST_LOAD_TIME,320,138,84,13,ES_LOWERCASE |
  72. ES_AUTOHSCROLL | ES_READONLY | ES_NUMBER
  73. RADIOBUTTON "WIA Device List",IDC_RADIO_WIA_DEVICE_LIST,
  74. 112,210,94,10
  75. RADIOBUTTON "Directshow Device List",IDC_RADIO_DSHOW_DEVICE_LIST,
  76. 207,210,94,10
  77. GROUPBOX "",IDC_STATIC,6,202,399,22
  78. END
  79. IDD_STRESSDLG DIALOG DISCARDABLE 0, 0, 213, 105
  80. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  81. CAPTION "Stress"
  82. FONT 8, "MS Shell Dlg"
  83. BEGIN
  84. EDITTEXT IDC_EDIT_NUM_THREADS,117,22,69,15,ES_AUTOHSCROLL |
  85. ES_NUMBER
  86. EDITTEXT IDC_EDIT_NUM_IMAGES_PER_THREAD,117,47,69,15,
  87. ES_AUTOHSCROLL | ES_NUMBER
  88. DEFPUSHBUTTON "OK",IDOK,57,84,50,14
  89. PUSHBUTTON "Cancel",IDCANCEL,109,84,50,14
  90. LTEXT "Number of Pictures to Take Per Thread:",IDC_STATIC,23,
  91. 48,88,18
  92. LTEXT "Number of Threads:",IDC_STATIC,23,24,90,12
  93. END
  94. IDD_DIALOG_TAKE_PICTURE_MULTIPLE DIALOG DISCARDABLE 0, 0, 206, 103
  95. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  96. CAPTION "Take Multiple Pictures"
  97. FONT 8, "MS Shell Dlg"
  98. BEGIN
  99. EDITTEXT IDC_EDIT_NUM_PICTURES_TO_TAKE,117,22,69,15,
  100. ES_AUTOHSCROLL | ES_NUMBER
  101. EDITTEXT IDC_EDIT_TAKE_PICTURE_FREQUENCY,117,47,69,15,
  102. ES_AUTOHSCROLL | ES_NUMBER
  103. DEFPUSHBUTTON "OK",IDOK,57,82,50,14
  104. PUSHBUTTON "Cancel",IDCANCEL,109,82,50,14
  105. LTEXT "How many pictures would you like to take?:",IDC_STATIC,
  106. 23,22,90,19
  107. LTEXT "How oftem should I take a picture (in millsec) :",
  108. IDC_STATIC,22,47,90,22
  109. END
  110. /////////////////////////////////////////////////////////////////////////////
  111. //
  112. // DESIGNINFO
  113. //
  114. #ifdef APSTUDIO_INVOKED
  115. GUIDELINES DESIGNINFO DISCARDABLE
  116. BEGIN
  117. IDD_STRESSDLG, DIALOG
  118. BEGIN
  119. LEFTMARGIN, 7
  120. RIGHTMARGIN, 206
  121. TOPMARGIN, 7
  122. BOTTOMMARGIN, 98
  123. END
  124. IDD_DIALOG_TAKE_PICTURE_MULTIPLE, DIALOG
  125. BEGIN
  126. LEFTMARGIN, 7
  127. RIGHTMARGIN, 199
  128. TOPMARGIN, 7
  129. BOTTOMMARGIN, 96
  130. END
  131. END
  132. #endif // APSTUDIO_INVOKED
  133. #ifdef APSTUDIO_INVOKED
  134. /////////////////////////////////////////////////////////////////////////////
  135. //
  136. // TEXTINCLUDE
  137. //
  138. 1 TEXTINCLUDE DISCARDABLE
  139. BEGIN
  140. "resource.h\0"
  141. END
  142. 2 TEXTINCLUDE DISCARDABLE
  143. BEGIN
  144. "#include ""afxres.h""\r\n"
  145. "\0"
  146. END
  147. 3 TEXTINCLUDE DISCARDABLE
  148. BEGIN
  149. "\r\n"
  150. "\0"
  151. END
  152. #endif // APSTUDIO_INVOKED
  153. /////////////////////////////////////////////////////////////////////////////
  154. //
  155. // String Table
  156. //
  157. STRINGTABLE DISCARDABLE
  158. BEGIN
  159. IDS_ERROR "Error"
  160. IDS_FAILED_TO_CREATE_VIDEO "Failed to create video, error code = 0x%08lx"
  161. IDS_DISCONNECTED "Disconnected"
  162. IDS_VIDEO_STREAM_SHUTDOWN
  163. "Device '%s' has disconnected, video stream was shutdown"
  164. IDS_NO_VIDEO "No Video"
  165. IDS_CREATING_VIDEO "Creating Video"
  166. IDS_VIDEO_CREATED "Video Created"
  167. IDS_PLAYING_VIDEO "Playing Video"
  168. IDS_VIDEO_PAUSED "Video Paused"
  169. IDS_DESTROYING_VIDEO "Destroying Video"
  170. IDS_STATE_UNKNOWN "Unknown State"
  171. IDS_VIDEO_STILL_ACTIVE "Cannot create video since the current video is still active. To create new video, please destroy the current one first"
  172. END
  173. #endif // English (U.S.) resources
  174. /////////////////////////////////////////////////////////////////////////////
  175. #ifndef APSTUDIO_INVOKED
  176. /////////////////////////////////////////////////////////////////////////////
  177. //
  178. // Generated from the TEXTINCLUDE 3 resource.
  179. //
  180. /////////////////////////////////////////////////////////////////////////////
  181. #endif // not APSTUDIO_INVOKED