Leaked source code of windows server 2003
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.

379 lines
17 KiB

  1. //===========================================================================
  2. // dimaptst.rc
  3. //
  4. // Hand edited resource file. Based on dmtmsdev.rc.
  5. //
  6. // PLEASE DO NOT LOAD THIS RC IN MSDEV AS ANYTHING OTHER THAN A TEXT FILE.
  7. //
  8. // History:
  9. // 08/18/1999 - davidkl - created
  10. //===========================================================================
  11. #include <windows.h>
  12. #include "resource.h"
  13. //---------------------------------------------------------------------------
  14. #ifndef IDC_STATIC
  15. #define IDC_STATIC -1
  16. #endif
  17. //---------------------------------------------------------------------------
  18. /////////////////////////////////////////////////////////////////////////////
  19. //
  20. // Version
  21. //
  22. VS_VERSION_INFO VERSIONINFO
  23. FILEVERSION 1,0,0,75
  24. PRODUCTVERSION 1,0,0,0
  25. FILEFLAGSMASK 0x3fL
  26. #ifdef _DEBUG
  27. FILEFLAGS 0x1L
  28. #else
  29. FILEFLAGS 0x0L
  30. #endif
  31. FILEOS 0x4L
  32. FILETYPE 0x1L
  33. FILESUBTYPE 0x0L
  34. BEGIN
  35. BLOCK "StringFileInfo"
  36. BEGIN
  37. BLOCK "040904b0"
  38. BEGIN
  39. VALUE "Comments", "\0"
  40. VALUE "CompanyName", "Microsoft Corporation\0"
  41. #ifdef DDKAPP
  42. VALUE "FileDescription", "DirectInput Mapper Configuration Tool\0"
  43. #else
  44. VALUE "FileDescription", "DirectInput(TM) Mapper Test Tool\0"
  45. #endif
  46. VALUE "FileVersion", "1.00.00.0075\0"
  47. #ifdef DDKAPP
  48. VALUE "InternalName", "DIMAPCFG\0"
  49. #else
  50. VALUE "InternalName", "DIMAPTST\0"
  51. #endif
  52. VALUE "LegalCopyright", "Copyright � 1999-2000 Microsoft Corporation\0"
  53. VALUE "LegalTrademarks", "\0"
  54. VALUE "OriginalFilename", "\0"
  55. VALUE "PrivateBuild", "\0"
  56. #ifdef DDKAPP
  57. VALUE "ProductName", "DirectInput(TM) Mapper Configuration Tool\0"
  58. #else
  59. VALUE "ProductName", "DirectInput(TM) Mapper Test Tool\0"
  60. #endif
  61. VALUE "ProductVersion", "1.00\0"
  62. VALUE "SpecialBuild", "\0"
  63. END
  64. END
  65. BLOCK "VarFileInfo"
  66. BEGIN
  67. VALUE "Translation", 0x409, 1200
  68. END
  69. END
  70. /////////////////////////////////////////////////////////////////////////////
  71. //
  72. // Dialog
  73. //
  74. //===========================================================================
  75. //===========================================================================
  76. // IDD_MAIN
  77. //
  78. // main app dialog
  79. //===========================================================================
  80. //===========================================================================
  81. IDD_MAIN DIALOG DISCARDABLE 0, 0, 230, 50//0, 0, 394, 115
  82. STYLE DS_MODALFRAME | WS_MINIMIZEBOX |WS_POPUP | WS_CAPTION | WS_SYSMENU
  83. #ifdef DDKAPP
  84. CAPTION "DirectInput Mapper Device Configuration Tool"
  85. #else
  86. CAPTION "DirectInput Mapper Test Tool - MICROSOFT INTERNAL BUILD"
  87. #endif
  88. FONT 8, "MS Shell Dlg"
  89. BEGIN
  90. //=======================================
  91. // Global app UI elements
  92. //=======================================
  93. #ifdef DDKAPP
  94. PUSHBUTTON "&Edit Graphic",IDC_LAUNCH_CPL_EDIT_MODE,172,28,53,14,//319,82,50,14,
  95. WS_DISABLED
  96. #endif
  97. // genre and device selection
  98. //LTEXT "&Genre group:",IDC_GENRES_LABEL,7,29,42,8
  99. COMBOBOX IDC_DEVICE_GENRES,/*52,8,102,86,*/52,27,174,86,CBS_DROPDOWNLIST |
  100. CBS_SORT | WS_VSCROLL | WS_TABSTOP | NOT WS_VISIBLE |
  101. WS_DISABLED
  102. PUSHBUTTON "Re-&Enumerate",IDC_ENUM_DEVICES,103,28,60,14//166,7,60,14
  103. LTEXT "&Devices:",IDC_DEVICES_LABEL,9,10,29,8,WS_DISABLED
  104. #ifdef DDKAPP
  105. // we DO want to sort the list in the DDK app
  106. COMBOBOX IDC_DEVICE_LIST,44,9,181,86/*271,8,115,86*/,CBS_DROPDOWNLIST | CBS_SORT |
  107. WS_DISABLED | WS_VSCROLL | WS_TABSTOP
  108. #else
  109. // we do NOT want to sort the list in the SDK and INTERNAL apps
  110. COMBOBOX IDC_DEVICE_LIST,44,9,181,86,/*271,8,115,86,*/CBS_DROPDOWNLIST |
  111. WS_DISABLED | WS_VSCROLL | WS_TABSTOP
  112. #endif
  113. //LTEXT "Genre:",IDC_GENRE_LABEL,7,44,22,11//27,25,22,8
  114. COMBOBOX IDC_SUBGENRES,/*52,24,334,64,*/52,43,174,64,CBS_DROPDOWNLIST | CBS_SORT |
  115. WS_VSCROLL | WS_TABSTOP | NOT WS_VISIBLE |
  116. WS_DISABLED
  117. // test flow control
  118. //GROUPBOX "Test control",IDC_TEST_CTRL_GROUP,7,41,124,65,
  119. // WS_DISABLED
  120. //PUSHBUTTON "Sto&p",IDCANCEL,68,81,50,14,WS_DISABLED
  121. //CONTROL "&Use DirectInput Mapper UI",IDC_USE_CPL,"Button",
  122. // BS_AUTORADIOBUTTON | WS_DISABLED | WS_GROUP,11,55,107,10
  123. //CONTROL "Use &integrated test UI",IDC_USE_INTEGRATED,"Button",
  124. // BS_AUTORADIOBUTTON | WS_DISABLED,11,67,85,10
  125. #ifdef DDKAPP
  126. //=======================================
  127. // DDK app specific UI elements
  128. //=======================================
  129. // create mapping file
  130. //GROUPBOX "Mapping File",IDC_MAPPING_FILE_GROUP,136,41,250,65,
  131. // WS_DISABLED
  132. CONTROL "Use initial mappings",IDC_START_WITH_DEFAULTS,"Button",
  133. BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,10,62,78,10//305,52,78,10
  134. // PUSHBUTTON "C&onfigure",IDC_CONFIGURE,319,66,50,14,WS_DISABLED
  135. //CONTROL "Save &standard mapping information file",IDC_SAVE_STD,
  136. // "Button",BS_AUTORADIOBUTTON | WS_DISABLED | WS_GROUP,150,
  137. // 62,137,10
  138. CONTROL "Save minimal &mapping information file",IDC_SAVE_HID,
  139. "Button",BS_AUTORADIOBUTTON | NOT WS_VISIBLE |
  140. WS_DISABLED,150,73,133,10
  141. CONTROL "Save &both mapping information file tyes",IDC_SAVE_BOTH,
  142. "Button",BS_AUTORADIOBUTTON | NOT WS_VISIBLE |
  143. WS_DISABLED,150,84,139,10
  144. //GROUPBOX "",IDC_STATIC,141,53,160,45
  145. #else
  146. //=======================================
  147. // INTERNAL test app specific UI elements
  148. //=======================================
  149. // verification mode
  150. GROUPBOX "Verification mode",IDC_VERIFY_GROUP,136,42,122,65,
  151. WS_DISABLED
  152. CONTROL "&Manual",IDC_VERIFY_MANUAL,"Button",BS_AUTORADIOBUTTON |
  153. WS_DISABLED | WS_GROUP,142,52,39,10
  154. CONTROL "&Automatic",IDC_VERIFY_AUTOMATIC,"Button",
  155. BS_AUTORADIOBUTTON | WS_DISABLED,142,65,47,10
  156. CONTROL "Manual o&verride",IDC_VERIFY_MANUAL_OVERRIDE,"Button",
  157. BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,153,76,67,10
  158. // stress options
  159. GROUPBOX "Stress options",IDC_STRESS_OPTS_GROUP,262,42,124,65
  160. CONTROL "St&ress mode",IDC_STRESS_MODE,"Button",BS_AUTOCHECKBOX |
  161. WS_TABSTOP,269,54,55,10
  162. PUSHBUTTON "C&onfigure",IDC_CONFIGURE,328,71,50,14,WS_DISABLED
  163. PUSHBUTTON "Start Stress",IDC_STRESS_START,328,87,50,14,WS_DISABLED
  164. // stress results counters
  165. GROUPBOX "Stress results",IDC_STRESS_RESULTS_GROUP,7,203,379,69
  166. LTEXT "Threads:",IDC_RUNNING_THREADS_LABEL,15,214,55,8
  167. RTEXT "0",IDC_RUNNING_THREADS,80,214,48,8
  168. LTEXT "Genres:",IDC_TESTED_GENRES_LABEL,15,236,55,8
  169. RTEXT "0",IDC_TESTED_GENRES,80,236,48,8
  170. LTEXT "Fail expected:",IDC_FAIL_EXPECTED_LABEL,15,247,55,8
  171. LTEXT "Failures:",IDC_FAILURES_LABEL,15,258,55,8
  172. RTEXT "0",IDC_FAIL_EXPECTED,80,247,48,8
  173. RTEXT "0",IDC_FAILURES,80,258,48,8
  174. LTEXT "Suitable devices:",IDC_SUITABLE_DEVICES_LABEL,15,225,55,
  175. 8
  176. RTEXT "0",IDC_SUITABLE_DEVICES,80,225,48,8
  177. #endif
  178. END
  179. //===========================================================================
  180. //===========================================================================
  181. // IDD_ABOUT
  182. //
  183. // "About..."
  184. //===========================================================================
  185. //===========================================================================
  186. IDD_ABOUT DIALOG DISCARDABLE 0, 0, 186, 95
  187. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  188. #ifdef DDKAPP
  189. CAPTION "About DirectInput Mapper Test Tool"
  190. #else
  191. CAPTION "About DirectInput Mapper Test Tool"
  192. #endif
  193. FONT 8, "MS Shell Dlg"
  194. BEGIN
  195. DEFPUSHBUTTON "OK",IDOK,129,7,50,14
  196. PUSHBUTTON "Cancel",IDCANCEL,129,24,50,14
  197. END
  198. //===========================================================================
  199. //===========================================================================
  200. // IDD_STRESS_CFG
  201. //
  202. // "Configure Stress Options"
  203. //===========================================================================
  204. //===========================================================================
  205. IDD_STRESS_CFG DIALOG DISCARDABLE 0, 0, 166, 226
  206. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  207. CAPTION "Configure Stress Options"
  208. FONT 8, "MS Shell Dlg"
  209. BEGIN
  210. DEFPUSHBUTTON "OK",IDOK,55,205,50,14
  211. PUSHBUTTON "Cancel",IDCANCEL,109,205,50,14
  212. LTEXT "&Number of threads:",IDC_NUMTHREADS_LABEL,7,13,61,8
  213. EDITTEXT IDC_NUMTHREADS,72,10,40,14,ES_AUTOHSCROLL
  214. CONTROL "&All threads use the same settings",
  215. IDC_ALL_THREADS_USE_SAME,"Button",BS_AUTOCHECKBOX |
  216. WS_TABSTOP,7,31,119,10
  217. GROUPBOX "Thread settings",IDC_STATIC,7,47,152,150
  218. LTEXT "&Thread number:",IDC_THREADNUM_LABEL,13,61,51,8
  219. EDITTEXT IDC_THREADNUM,69,58,40,14,ES_AUTOHSCROLL | WS_DISABLED
  220. CONTROL "&User name:",IDC_USE_USERNAME,"Button",BS_AUTOCHECKBOX |
  221. WS_DISABLED | WS_TABSTOP,13,79,52,10
  222. EDITTEXT IDC_USERNAME,69,77,76,14,ES_AUTOHSCROLL | WS_DISABLED
  223. CONTROL "Use separate &app GUID",IDC_USE_APP_GUID,"Button",
  224. BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,13,93,92,10
  225. CONTROL "Customize available controller genres",
  226. IDC_USE_CUSTOM_GENRES,"Button",BS_AUTOCHECKBOX |
  227. WS_DISABLED | WS_TABSTOP,13,107,132,10
  228. LTEXT "&Genres:",IDC_GENRES_LABEL,7,10,42,8,WS_DISABLED//14,122,26,8,WS_DISABLED
  229. LISTBOX IDC_DEVICE_GENRES,13,134,134,52,LBS_SORT |
  230. LBS_MULTIPLESEL | LBS_NOINTEGRALHEIGHT | WS_DISABLED |
  231. WS_VSCROLL | WS_TABSTOP
  232. END
  233. //===========================================================================
  234. //===========================================================================
  235. // IDD_CONFIGURE_MAPPING_PAGE
  236. //
  237. // "Configure Device Control Mappings" property page
  238. //===========================================================================
  239. //===========================================================================
  240. IDD_CONFIGURE_MAPPING_PAGE DIALOG DISCARDABLE 0, 0, 369, 187
  241. STYLE DS_MODALFRAME | WS_POPUP
  242. FONT 8, "MS Shell Dlg"
  243. BEGIN
  244. LTEXT "&Genre:",IDC_SUBGENRE_LABEL,7,9,22,8
  245. COMBOBOX IDC_SUBGENRE,54,7,308,86,CBS_DROPDOWNLIST | CBS_SORT |
  246. WS_VSCROLL | WS_TABSTOP
  247. LTEXT "Description:",IDC_STATIC,170,28,44,8
  248. LTEXT "",IDC_DESCRIPTION,170,42,192,16
  249. GROUPBOX "Control type",IDC_STATIC,7,28,153,30
  250. CONTROL "A&xis",IDC_TYPE_AXIS,"Button",BS_AUTORADIOBUTTON |
  251. WS_DISABLED | WS_GROUP,13,42,29,10
  252. CONTROL "&Button",IDC_TYPE_BUTTON,"Button",BS_AUTORADIOBUTTON |
  253. WS_DISABLED,58,42,37,10
  254. CONTROL "&POV Hat",IDC_TYPE_POV,"Button",BS_AUTORADIOBUTTON |
  255. WS_DISABLED,111,42,44,10
  256. LTEXT "&Control:",IDC_CONTROL_LABEL,7,67,25,8
  257. LISTBOX IDC_CONTROLS,7,78,174,81,LBS_SORT | LBS_NOINTEGRALHEIGHT |
  258. WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
  259. LTEXT "A&vailable actions:",IDC_ACTIONS_LABEL,188,67,56,8
  260. LISTBOX IDC_ACTIONS,188,78,174,81,LBS_SORT |
  261. LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL |
  262. WS_TABSTOP
  263. PUSHBUTTON "&Map action",IDC_STORE_MAPPING,206,166,50,14
  264. PUSHBUTTON "&Unmap action",IDC_UNMAP,259,166,50,14,WS_DISABLED
  265. PUSHBUTTON "U&nmap All",IDC_UNMAP_ALL,312,166,50,14,WS_DISABLED
  266. END
  267. //===========================================================================
  268. //===========================================================================
  269. // IDD_CONFIGURE_GAME_SOURCE
  270. //
  271. // "Configure Device Mapping Source Code"
  272. //===========================================================================
  273. //===========================================================================
  274. IDD_CONFIGURE_GAME_SOURCE DIALOG DISCARDABLE 0, 0, 368, 196
  275. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  276. CAPTION "Configure Device Mapping Source Code"
  277. FONT 8, "MS Shell Dlg"
  278. BEGIN
  279. DEFPUSHBUTTON "OK",IDOK,255,175,50,14
  280. PUSHBUTTON "Cancel",IDCANCEL,311,175,50,14
  281. LTEXT "&Genre:",IDC_SUBGENRE_LABEL,7,9,22,8
  282. GROUPBOX "Control type",IDC_STATIC,7,27,159,32
  283. CONTROL "&Axis",IDC_TYPE_AXIS,"Button",BS_AUTORADIOBUTTON,17,41,
  284. 29,10
  285. CONTROL "&Button",IDC_TYPE_BUTTON,"Button",BS_AUTORADIOBUTTON,57,
  286. 41,37,10
  287. CONTROL "&POV",IDC_TYPE_POV,"Button",BS_AUTORADIOBUTTON,105,41,
  288. 31,10
  289. LTEXT "A&vailable actions:",IDC_ACTIONS_LABEL,7,65,56,8
  290. LISTBOX IDC_ACTIONS,7,78,146,91,LBS_SORT | LBS_MULTIPLESEL |
  291. LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL |
  292. WS_TABSTOP
  293. PUSHBUTTON "Add &>>>",IDC_ADD_ACTION,158,87,50,14
  294. PUSHBUTTON "&<<< Remove",IDC_REMOVE_ACTION,158,107,50,14
  295. PUSHBUTTON "&Rename",IDC_RENAME_ACTION,158,126,50,14
  296. PUSHBUTTON "&Custom",IDC_CUSTOM_ACTION,158,145,50,14
  297. LTEXT "&Selected actions:",IDC_SELECTED_ACTION_LABEL,215,65,56,
  298. 8
  299. LISTBOX IDC_SELECTED_ACTIONS,215,78,146,91,LBS_SORT |
  300. LBS_MULTIPLESEL | LBS_NOINTEGRALHEIGHT | WS_VSCROLL |
  301. WS_HSCROLL | WS_TABSTOP
  302. EDITTEXT IDC_SUBGENRE,35,7,326,14,ES_AUTOHSCROLL | ES_READONLY
  303. LTEXT "",IDC_DESCRIPTION,175,27,186,32
  304. END
  305. //===========================================================================
  306. //===========================================================================
  307. // IDD_FAILURE_DETAILS
  308. //
  309. // Failure information entering dialog
  310. //===========================================================================
  311. //===========================================================================
  312. IDD_FAILURE_DETAILS DIALOG DISCARDABLE 0, 0, 186, 236
  313. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  314. CAPTION "Test failure details"
  315. FONT 8, "MS Shell Dlg"
  316. BEGIN
  317. LTEXT "Please enter a brief description of the failure (what did not work, expected results, etc).",
  318. IDC_STATIC,7,7,172,18
  319. EDITTEXT IDC_FAILURE_INFO,7,28,172,181,ES_AUTOHSCROLL
  320. DEFPUSHBUTTON "OK",IDOK,75,215,50,14
  321. PUSHBUTTON "Cancel",IDCANCEL,129,215,50,14
  322. END
  323. //===========================================================================
  324. //===========================================================================
  325. // IDD_SAVE_CONFIRMATION
  326. //
  327. // Prompts when asking to save semantic mappings.
  328. //===========================================================================
  329. //===========================================================================
  330. IDD_SAVE_CONFIRMATION DIALOG DISCARDABLE 0, 0, 186, 86
  331. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  332. CAPTION "Save"
  333. FONT 8, "MS Shell Dlg"
  334. BEGIN
  335. LTEXT "Save semantic mappings for genre group?",IDC_STATIC,7,7,
  336. 172,8
  337. EDITTEXT IDC_GENRE_GROUP,7,20,172,14,ES_CENTER | ES_AUTOHSCROLL |
  338. ES_READONLY
  339. CONTROL "&Use this option for all remaining genre groups",
  340. IDC_NO_PROMPT,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
  341. WS_TABSTOP,7,42,172,10
  342. DEFPUSHBUTTON "Yes",IDOK,22,65,50,14
  343. PUSHBUTTON "No",IDC_DONT_SAVE,75,65,50,14
  344. PUSHBUTTON "Cancel",IDCANCEL,128,65,50,14
  345. END
  346. /////////////////////////////////////////////////////////////////////////////
  347. //
  348. // Icon
  349. //
  350. // So that only the correct icon for the test tool is displayed, we will be
  351. // conditionally compiling these resources.
  352. //
  353. #ifdef DDKAPP
  354. IDI_DIMAPTST ICON DISCARDABLE "res\\ddkapp.ico"
  355. #else
  356. IDI_DIMAPTST ICON DISCARDABLE "res\\internal.ico"
  357. #endif