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.

202 lines
10 KiB

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4. /////////////////////////////////////////////////////////////////////////////
  5. // English (U.S.) resources
  6. #define IDC_STATIC (-1)// all static controls
  7. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  8. #ifdef _WIN32
  9. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  10. #pragma code_page(1252)
  11. #endif //_WIN32
  12. #include <windows.h>
  13. #include <ntverp.h>
  14. #define VER_FILETYPE VFT_DLL
  15. #define VER_FILESUBTYPE VFT2_UNKNOWN
  16. #define VER_FILEDESCRIPTION_STR "Game Controllers Control Panel Applet"
  17. #define VER_INTERNALNAME_STR "JOY.CPL"
  18. #define VER_OLESELFREGISTER
  19. #include "common.ver"
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // Dialog
  23. //
  24. IDD_CPANEL DIALOGEX 0, 0, 252, 208
  25. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  26. EXSTYLE WS_EX_CONTEXTHELP
  27. CAPTION "Game Controllers"
  28. FONT 8, "MS Shell Dlg"
  29. BEGIN
  30. LTEXT "These settings help you configure the game controllers installed on your computer.",
  31. IDC_GEN_INTRO,31,7,214,20,NOT WS_GROUP
  32. ICON IDI_CPANEL,IDC_GEN_ICON,7,7,20,20
  33. GROUPBOX "I&nstalled game controllers",IDC_STATIC,7,34,238,118
  34. CONTROL "List1",IDC_LIST_DEVICE,"SysListView32",LVS_REPORT |
  35. LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOLABELWRAP |
  36. LVS_NOSORTHEADER |
  37. WS_BORDER | WS_GROUP | WS_TABSTOP,14,44,
  38. 224,80
  39. PUSHBUTTON "&Add...",IDC_BTN_ADD,35,131,65,14
  40. PUSHBUTTON "&Remove",IDC_BTN_REMOVE,104,131,65,14
  41. PUSHBUTTON "&Properties",IDC_BTN_PROPERTIES,173,131,65,14
  42. //GROUPBOX "Other options",IDC_STATIC,5,145,240,45
  43. PUSHBUTTON "A&dvanced...",IDC_BTN_ADV,111,159,65,14
  44. PUSHBUTTON "&Troubleshoot...",IDC_BTN_TSHOOT,180,159,65,14
  45. PUSHBUTTON "OK",IDOK,195,187,50,14
  46. //CTEXT "To set advanced options, click Advanced. If your game controller is not functioning properly, click Troubleshoot.",
  47. // IDC_STATIC,20,155,210,10
  48. END
  49. IDD_ADD DIALOGEX 0, 0, 265, 200
  50. STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP | WS_CAPTION |
  51. WS_SYSMENU
  52. EXSTYLE WS_EX_CONTEXTHELP
  53. CAPTION "Add Game Controller"
  54. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  55. BEGIN
  56. ICON IDI_CPANEL,IDC_GEN_ICON,8,7,20,20
  57. LTEXT "Select a game controller from the list below, and then click OK. If your game controller does not appear in the list, click Custom.",
  58. IDC_ADD_STR1,35,7,210,33
  59. CONTROL "",IDC_SEPERATOR,"Static",SS_ETCHEDHORZ,7,170,251,1
  60. LTEXT "&Game controllers:",IDC_DEVICE_LIST_TAG,8,45,126,8
  61. LISTBOX IDC_DEVICE_LIST,7,55,251,57,LBS_SORT |
  62. LBS_NOINTEGRALHEIGHT | LBS_WANTKEYBOARDINPUT |
  63. WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
  64. CONTROL "&Enable rudders and pedals",IDC_JOY1HASRUDDER,"Button",
  65. BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,7,114,100,10
  66. LTEXT "&Game Port:",IDC_GAMEPORT,7,134,38,8,NOT WS_VISIBLE
  67. COMBOBOX IDC_GAMEPORTLIST,7,147,140,50,CBS_DROPDOWNLIST | CBS_SORT |
  68. NOT WS_VISIBLE | WS_VSCROLL | WS_TABSTOP
  69. PUSHBUTTON "&Custom...",IDC_CUSTOM,208,147,50,14
  70. DEFPUSHBUTTON "OK",IDOK,155,179,50,14
  71. PUSHBUTTON "Cancel",IDCANCEL,208,179,50,14
  72. END
  73. IDD_CUSTOM DIALOGEX 0, 0, 265, 183
  74. STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP | WS_CAPTION |
  75. WS_SYSMENU
  76. EXSTYLE WS_EX_CONTEXTHELP
  77. CAPTION "Custom Game Controller"
  78. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  79. BEGIN
  80. GROUPBOX "Special characteristics",IDC_SPECIAL_GROUP,7,7,245,52
  81. CONTROL "&Joystick",IDC_SPECIAL_JOYSTICK,"Button",
  82. BS_AUTORADIOBUTTON | WS_TABSTOP,17,23,55,10
  83. CONTROL "&Flight yoke or flight stick",IDC_SPECIAL_YOKE,"Button",
  84. BS_AUTORADIOBUTTON | WS_TABSTOP,147,23,89,10
  85. CONTROL "&Game pad",IDC_SPECIAL_PAD,"Button",
  86. BS_AUTORADIOBUTTON | WS_TABSTOP,17,40,65,10
  87. CONTROL "&Race car controller",IDC_SPECIAL_AUTO,"Button",
  88. BS_AUTORADIOBUTTON | WS_TABSTOP,147,40,93,10
  89. GROUPBOX "&Axes",IDC_AXES_GROUP,7,67,116,44,WS_GROUP
  90. COMBOBOX IDC_COMBO_AXIS,37,79,48,50,CBS_DROPDOWNLIST | CBS_SORT |
  91. WS_VSCROLL | WS_TABSTOP
  92. CONTROL "Rudder/Pedals",IDC_HASRUDDER,"Button",
  93. BS_AUTORADIOBUTTON | NOT WS_VISIBLE | WS_TABSTOP,14,97,
  94. 63,10
  95. CONTROL "Z Axis",IDC_HASZAXIS,"Button",BS_AUTORADIOBUTTON | NOT
  96. WS_VISIBLE | WS_TABSTOP,81,97,35,10
  97. GROUPBOX "&Buttons",IDC_BUTTONS_GROUP,137,67,116,44
  98. COMBOBOX IDC_COMBO_BUTTONS,178,79,48,50,CBS_DROPDOWNLIST |
  99. CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP,
  100. WS_EX_CLIENTEDGE
  101. CONTROL "Includes a &point of view control",IDS_CUSTOM_HASPOV,"Button",
  102. BS_AUTOCHECKBOX | WS_TABSTOP,7,123,115,10
  103. LTEXT "C&ontroller name:",IDC_CUSTOM_NAME,7,139,200,9
  104. EDITTEXT IDC_EDIT_NAME,7,150,116,15,ES_AUTOHSCROLL,
  105. WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
  106. DEFPUSHBUTTON "OK",IDOK,137,150,50,14
  107. PUSHBUTTON "Cancel",IDCANCEL,203,150,50,14
  108. END
  109. IDD_ADV_CHANGE DIALOGEX 0, 0, 220, 86
  110. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  111. EXSTYLE WS_EX_CONTEXTHELP
  112. CAPTION "Advanced Settings"
  113. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  114. BEGIN
  115. ICON IDI_CPANEL,IDC_GEN_ICON,7,24,20,20
  116. DEFPUSHBUTTON "OK",IDOK,106,65,50,14
  117. PUSHBUTTON "Cancel",IDCANCEL,163,65,50,14
  118. LTEXT "Select the device you want to use with older programs.",IDC_STATIC,7,7,208,10
  119. LTEXT "&Preferred device:",IDC_STATIC,34,24,70,10
  120. COMBOBOX IDC_CHANGE_LIST,34,38,179,75,CBS_DROPDOWNLIST | CBS_SORT |
  121. WS_VSCROLL | WS_TABSTOP
  122. END
  123. /////////////////////////////////////////////////////////////////////////////
  124. //
  125. // Icon
  126. //
  127. // Icon with lowest ID value placed first to ensure application icon
  128. // remains consistent on all systems.
  129. IDI_CPANEL ICON DISCARDABLE ".\\res\\joy.ico"
  130. /////////////////////////////////////////////////////////////////////////////
  131. //
  132. // String Table
  133. //
  134. STRINGTABLE DISCARDABLE
  135. BEGIN
  136. IDS_ADD_PORT_MSGFORMAT "The controller %s currently resides on port %s.\nPlease remove it or assign the device to another port."
  137. IDS_ADD_PORT_OCCUPIED "Gameport Occupied"
  138. IDS_ADV_DEVICE_FRIENDLY "Name"
  139. IDS_ADV_DEVICE_HEADING "ID"
  140. IDS_ADV_DEVICE_PORT "Port"
  141. IDS_ADV_GAME_CONTROLLERS "Game Controllers"
  142. IDS_AUTO_DETECT "Auto-Detect Gameport"
  143. IDS_DEST_ID_OCCUPIED "The destination ID is occupied."
  144. IDS_DEST_ID_OCCUPIED_TITLE "Change ID"
  145. IDS_DUPLICATE_TYPE "A custom controller by this name already exists.\nPlease choose another name."
  146. IDS_GAMEPORT_OCCUPIED "The gameport is already occupied."
  147. IDS_GAMEPORT_OCCUPIED_TITLE "Add Device"
  148. IDS_GEN_AREYOUSURE "Are you sure you want to remove the %s?"
  149. IDS_GEN_AREYOUSURE_TITLE "Remove Controller"
  150. IDS_GEN_CPANEL_INFO "Add, remove, and configure game controller hardware such as joysticks and gamepads."
  151. IDS_GEN_CPANEL_TITLE "Game Controllers"
  152. IDS_GEN_DEVICE_HEADING "Controller"
  153. IDS_GEN_NO_REMOVE_USB "The device you have selected can not be removed from here.\nPlease use the Device Manager."
  154. IDS_GEN_STATUS_HEADING "Status"
  155. IDS_GEN_STATUS_NOTCONNECTED "Not Connected"
  156. IDS_GEN_STATUS_OK "OK"
  157. IDS_GEN_STATUS_UNKNOWN "Unknown"
  158. IDS_HELPFILENAME "dijoy.hlp"
  159. IDS_INTERNAL_ERROR "Internal Error!"
  160. IDS_INVALID_NAME "Controller names can not contain the '\\' character."
  161. IDS_MAX_DEVICES_MSG "You must delete a device type before you will be allowed to add any further!"
  162. IDS_MAX_DEVICES_TITLE "Maximum Device Types!"
  163. IDS_NOAVAILABLEVIDPID "You already have the maximum allowed number of custom devices.\nYou must remove one to add another."
  164. IDS_NONE "(none)"
  165. IDS_NO_DIJOYCONFIG "Necessary support files not found."
  166. IDS_NO_GAMENUM "Your Gameport or Gameport drivers are not properly configured.\nPlease consult the Device Manager."
  167. IDS_NO_GAMENUM_TITLE "Missing Gameport or Gameport Drivers!"
  168. IDS_NO_GAMEPORT "To add a device, you must first select a gameport."
  169. IDS_NO_GAMEPORT_TITLE "Please select a gameport..."
  170. IDS_NO_IDS "You already have the maximum number of supported controllers installed.\nTo install this controller, you must remove a previously installed device."
  171. IDS_NO_IDS_TITLE "Device Assignment Error"
  172. IDS_NO_NAME "Please enter a name for the custom controller."
  173. IDS_NO_NAME_TITLE "Custom Game Controller"
  174. IDS_NO_REMOVE "You can not delete device types that are currently assigned."
  175. IDS_NO_RENAME "This device can't be renamed."
  176. IDS_NO_RENAME_TITLE "Rename Device"
  177. IDS_REFRESH "Re&fresh"
  178. IDS_RENAME "Rena&me"
  179. IDS_TSHOOT_CMD "hcp://help/tshoot/tsgame.htm"
  180. IDS_USER_MODE "The requested service is not available at your access privilege.\nPlease log in as administrator."
  181. IDS_USER_MODE_TITLE "Security Privilege Error"
  182. IDS_WDMJOY "\\system32\\RUNDLL32 syssetup,SetupInfObjectInstallAction IHVBootStrap 128 "
  183. IDS_WDMJOY_INF "\\inf\\wdmjoy.inf"
  184. IDS_WHATSTHIS "&What's This?"
  185. END
  186. #endif // English (U.S.) resources