203 lines
9.8 KiB
Plaintext
203 lines
9.8 KiB
Plaintext
|
//Microsoft Developer Studio generated resource script.
|
||
|
//
|
||
|
#include "resource.h"
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// English (U.S.) resources
|
||
|
|
||
|
#define IDC_STATIC (-1)// all static controls
|
||
|
|
||
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
||
|
#ifdef _WIN32
|
||
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||
|
#pragma code_page(1252)
|
||
|
#endif //_WIN32
|
||
|
|
||
|
#include <windows.h>
|
||
|
#include <ntverp.h>
|
||
|
|
||
|
#define VER_FILETYPE VFT_DLL
|
||
|
#define VER_FILESUBTYPE VFT2_UNKNOWN
|
||
|
#define VER_FILEDESCRIPTION_STR "Game Controllers Control Panel Applet"
|
||
|
#define VER_INTERNALNAME_STR "JOY.CPL"
|
||
|
#define VER_OLESELFREGISTER
|
||
|
|
||
|
#include "common.ver"
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// Dialog
|
||
|
//
|
||
|
|
||
|
IDD_CPANEL DIALOGEX 0, 0, 252, 208
|
||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
|
EXSTYLE WS_EX_CONTEXTHELP
|
||
|
CAPTION "Game Controllers"
|
||
|
FONT 8, "MS Shell Dlg"
|
||
|
BEGIN
|
||
|
LTEXT "These settings help you configure the game controllers installed on your computer.",
|
||
|
IDC_GEN_INTRO,31,7,214,20,NOT WS_GROUP
|
||
|
ICON IDI_CPANEL,IDC_GEN_ICON,7,7,20,20
|
||
|
GROUPBOX "I&nstalled game controllers",IDC_STATIC,7,34,238,118
|
||
|
CONTROL "List1",IDC_LIST_DEVICE,"SysListView32",LVS_REPORT |
|
||
|
LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOLABELWRAP |
|
||
|
LVS_NOSORTHEADER |
|
||
|
WS_BORDER | WS_GROUP | WS_TABSTOP,14,44,
|
||
|
224,80
|
||
|
PUSHBUTTON "&Add...",IDC_BTN_ADD,35,131,65,14
|
||
|
PUSHBUTTON "&Remove",IDC_BTN_REMOVE,104,131,65,14
|
||
|
PUSHBUTTON "&Properties",IDC_BTN_PROPERTIES,173,131,65,14
|
||
|
//GROUPBOX "Other options",IDC_STATIC,5,145,240,45
|
||
|
PUSHBUTTON "A&dvanced...",IDC_BTN_ADV,111,159,65,14
|
||
|
PUSHBUTTON "&Troubleshoot...",IDC_BTN_TSHOOT,180,159,65,14
|
||
|
PUSHBUTTON "OK",IDOK,195,187,50,14
|
||
|
//CTEXT "To set advanced options, click Advanced. If your game controller is not functioning properly, click Troubleshoot.",
|
||
|
// IDC_STATIC,20,155,210,10
|
||
|
END
|
||
|
|
||
|
IDD_ADD DIALOGEX 0, 0, 265, 200
|
||
|
STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP | WS_CAPTION |
|
||
|
WS_SYSMENU
|
||
|
EXSTYLE WS_EX_CONTEXTHELP
|
||
|
CAPTION "Add Game Controller"
|
||
|
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
||
|
BEGIN
|
||
|
ICON IDI_CPANEL,IDC_GEN_ICON,8,7,20,20
|
||
|
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.",
|
||
|
IDC_ADD_STR1,35,7,210,33
|
||
|
CONTROL "",IDC_SEPERATOR,"Static",SS_ETCHEDHORZ,7,170,251,1
|
||
|
LTEXT "&Game controllers:",IDC_DEVICE_LIST_TAG,8,45,126,8
|
||
|
LISTBOX IDC_DEVICE_LIST,7,55,251,57,LBS_SORT |
|
||
|
LBS_NOINTEGRALHEIGHT | LBS_WANTKEYBOARDINPUT |
|
||
|
WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
|
||
|
CONTROL "&Enable rudders and pedals",IDC_JOY1HASRUDDER,"Button",
|
||
|
BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,7,114,100,10
|
||
|
LTEXT "&Game Port:",IDC_GAMEPORT,7,134,38,8,NOT WS_VISIBLE
|
||
|
COMBOBOX IDC_GAMEPORTLIST,7,147,140,50,CBS_DROPDOWNLIST | CBS_SORT |
|
||
|
NOT WS_VISIBLE | WS_VSCROLL | WS_TABSTOP
|
||
|
PUSHBUTTON "&Custom...",IDC_CUSTOM,208,147,50,14
|
||
|
DEFPUSHBUTTON "OK",IDOK,155,179,50,14
|
||
|
PUSHBUTTON "Cancel",IDCANCEL,208,179,50,14
|
||
|
END
|
||
|
|
||
|
IDD_CUSTOM DIALOGEX 0, 0, 265, 183
|
||
|
STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUP | WS_CAPTION |
|
||
|
WS_SYSMENU
|
||
|
EXSTYLE WS_EX_CONTEXTHELP
|
||
|
CAPTION "Custom Game Controller"
|
||
|
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
||
|
BEGIN
|
||
|
GROUPBOX "Special characteristics",IDC_SPECIAL_GROUP,7,7,245,52
|
||
|
CONTROL "&Joystick",IDC_SPECIAL_JOYSTICK,"Button",
|
||
|
BS_AUTORADIOBUTTON | WS_TABSTOP,17,23,55,10
|
||
|
CONTROL "&Flight yoke or flight stick",IDC_SPECIAL_YOKE,"Button",
|
||
|
BS_AUTORADIOBUTTON | WS_TABSTOP,147,23,89,10
|
||
|
CONTROL "&Game pad",IDC_SPECIAL_PAD,"Button",
|
||
|
BS_AUTORADIOBUTTON | WS_TABSTOP,17,40,65,10
|
||
|
CONTROL "&Race car controller",IDC_SPECIAL_AUTO,"Button",
|
||
|
BS_AUTORADIOBUTTON | WS_TABSTOP,147,40,93,10
|
||
|
GROUPBOX "&Axes",IDC_AXES_GROUP,7,67,116,44,WS_GROUP
|
||
|
COMBOBOX IDC_COMBO_AXIS,37,79,48,50,CBS_DROPDOWNLIST | CBS_SORT |
|
||
|
WS_VSCROLL | WS_TABSTOP
|
||
|
CONTROL "Rudder/Pedals",IDC_HASRUDDER,"Button",
|
||
|
BS_AUTORADIOBUTTON | NOT WS_VISIBLE | WS_TABSTOP,14,97,
|
||
|
63,10
|
||
|
CONTROL "Z Axis",IDC_HASZAXIS,"Button",BS_AUTORADIOBUTTON | NOT
|
||
|
WS_VISIBLE | WS_TABSTOP,81,97,35,10
|
||
|
GROUPBOX "&Buttons",IDC_BUTTONS_GROUP,137,67,116,44
|
||
|
COMBOBOX IDC_COMBO_BUTTONS,178,79,48,50,CBS_DROPDOWNLIST |
|
||
|
CBS_AUTOHSCROLL | CBS_SORT | WS_VSCROLL | WS_TABSTOP,
|
||
|
WS_EX_CLIENTEDGE
|
||
|
CONTROL "Includes a &point of view control",IDS_CUSTOM_HASPOV,"Button",
|
||
|
BS_AUTOCHECKBOX | WS_TABSTOP,7,123,115,10
|
||
|
LTEXT "C&ontroller name:",IDC_CUSTOM_NAME,7,139,200,9
|
||
|
EDITTEXT IDC_EDIT_NAME,7,150,116,15,ES_AUTOHSCROLL,
|
||
|
WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
|
||
|
DEFPUSHBUTTON "OK",IDOK,137,150,50,14
|
||
|
PUSHBUTTON "Cancel",IDCANCEL,203,150,50,14
|
||
|
END
|
||
|
|
||
|
IDD_ADV_CHANGE DIALOGEX 0, 0, 220, 86
|
||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||
|
EXSTYLE WS_EX_CONTEXTHELP
|
||
|
CAPTION "Advanced Settings"
|
||
|
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
||
|
BEGIN
|
||
|
ICON IDI_CPANEL,IDC_GEN_ICON,7,24,20,20
|
||
|
DEFPUSHBUTTON "OK",IDOK,106,65,50,14
|
||
|
PUSHBUTTON "Cancel",IDCANCEL,163,65,50,14
|
||
|
LTEXT "Select the device you want to use with older programs.",IDC_STATIC,7,7,208,10
|
||
|
LTEXT "&Preferred device:",IDC_STATIC,34,24,70,10
|
||
|
COMBOBOX IDC_CHANGE_LIST,34,38,179,75,CBS_DROPDOWNLIST | CBS_SORT |
|
||
|
WS_VSCROLL | WS_TABSTOP
|
||
|
END
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// Icon
|
||
|
//
|
||
|
|
||
|
// Icon with lowest ID value placed first to ensure application icon
|
||
|
// remains consistent on all systems.
|
||
|
IDI_CPANEL ICON DISCARDABLE ".\\res\\joy.ico"
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// String Table
|
||
|
//
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
IDS_ADD_PORT_MSGFORMAT "The controller %s currently resides on port %s.\nPlease remove it or assign the device to another port."
|
||
|
IDS_ADD_PORT_OCCUPIED "Gameport Occupied"
|
||
|
IDS_ADV_DEVICE_FRIENDLY "Name"
|
||
|
IDS_ADV_DEVICE_HEADING "ID"
|
||
|
IDS_ADV_DEVICE_PORT "Port"
|
||
|
IDS_ADV_GAME_CONTROLLERS "Game Controllers"
|
||
|
IDS_AUTO_DETECT "Auto-Detect Gameport"
|
||
|
IDS_DEST_ID_OCCUPIED "The destination ID is occupied."
|
||
|
IDS_DEST_ID_OCCUPIED_TITLE "Change ID"
|
||
|
IDS_DUPLICATE_TYPE "A custom controller by this name already exists.\nPlease choose another name."
|
||
|
IDS_GAMEPORT_OCCUPIED "The gameport is already occupied."
|
||
|
IDS_GAMEPORT_OCCUPIED_TITLE "Add Device"
|
||
|
IDS_GEN_AREYOUSURE "Are you sure you want to remove the %s?"
|
||
|
IDS_GEN_AREYOUSURE_TITLE "Remove Controller"
|
||
|
IDS_GEN_CPANEL_INFO "Add, remove, and configure game controller hardware such as joysticks and gamepads."
|
||
|
IDS_GEN_CPANEL_TITLE "Game Controllers"
|
||
|
IDS_GEN_DEVICE_HEADING "Controller"
|
||
|
IDS_GEN_NO_REMOVE_USB "The device you have selected can not be removed from here.\nPlease use the Device Manager."
|
||
|
IDS_GEN_STATUS_HEADING "Status"
|
||
|
IDS_GEN_STATUS_NOTCONNECTED "Not Connected"
|
||
|
IDS_GEN_STATUS_OK "OK"
|
||
|
IDS_GEN_STATUS_UNKNOWN "Unknown"
|
||
|
IDS_HELPFILENAME "dijoy.hlp"
|
||
|
IDS_INTERNAL_ERROR "Internal Error!"
|
||
|
IDS_INVALID_NAME "Controller names can not contain the '\\' character."
|
||
|
IDS_MAX_DEVICES_MSG "You must delete a device type before you will be allowed to add any further!"
|
||
|
IDS_MAX_DEVICES_TITLE "Maximum Device Types!"
|
||
|
IDS_NOAVAILABLEVIDPID "You already have the maximum allowed number of custom devices.\nYou must remove one to add another."
|
||
|
IDS_NONE "(none)"
|
||
|
IDS_NO_DIJOYCONFIG "Necessary support files not found."
|
||
|
IDS_NO_GAMENUM "Your Gameport or Gameport drivers are not properly configured.\nPlease consult the Device Manager."
|
||
|
IDS_NO_GAMENUM_TITLE "Missing Gameport or Gameport Drivers!"
|
||
|
IDS_NO_GAMEPORT "To add a device, you must first select a gameport."
|
||
|
IDS_NO_GAMEPORT_TITLE "Please select a gameport..."
|
||
|
IDS_NO_IDS "You already have the maximum number of supported controllers installed.\nTo install this controller, you must remove a previously installed device."
|
||
|
IDS_NO_IDS_TITLE "Device Assignment Error"
|
||
|
IDS_NO_NAME "Please enter a name for the custom controller."
|
||
|
IDS_NO_NAME_TITLE "Custom Game Controller"
|
||
|
IDS_NO_REMOVE "You can not delete device types that are currently assigned."
|
||
|
IDS_NO_RENAME "This device can't be renamed."
|
||
|
IDS_NO_RENAME_TITLE "Rename Device"
|
||
|
IDS_REFRESH "Re&fresh"
|
||
|
IDS_RENAME "Rena&me"
|
||
|
IDS_TSHOOT_CMD "hcp://help/tshoot/tsgame.htm"
|
||
|
IDS_USER_MODE "The requested service is not available at your access privilege.\nPlease log in as administrator."
|
||
|
IDS_USER_MODE_TITLE "Security Privilege Error"
|
||
|
IDS_WDMJOY "\\system32\\RUNDLL32 syssetup,SetupInfObjectInstallAction IHVBootStrap 128 "
|
||
|
IDS_WDMJOY_INF "\\inf\\wdmjoy.inf"
|
||
|
IDS_WHATSTHIS "&What's This?"
|
||
|
END
|
||
|
|
||
|
#endif // English (U.S.) resources
|