Windows2003-3790/multimedia/directx/dinput/dimapcfg/dimaptst.rc

380 lines
17 KiB
Plaintext
Raw Permalink Normal View History

2001-01-01 00:00:00 +01:00
//===========================================================================
// dimaptst.rc
//
// Hand edited resource file. Based on dmtmsdev.rc.
//
// PLEASE DO NOT LOAD THIS RC IN MSDEV AS ANYTHING OTHER THAN A TEXT FILE.
//
// History:
// 08/18/1999 - davidkl - created
//===========================================================================
#include <windows.h>
#include "resource.h"
//---------------------------------------------------------------------------
#ifndef IDC_STATIC
#define IDC_STATIC -1
#endif
//---------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,75
PRODUCTVERSION 1,0,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "Comments", "\0"
VALUE "CompanyName", "Microsoft Corporation\0"
#ifdef DDKAPP
VALUE "FileDescription", "DirectInput Mapper Configuration Tool\0"
#else
VALUE "FileDescription", "DirectInput(TM) Mapper Test Tool\0"
#endif
VALUE "FileVersion", "1.00.00.0075\0"
#ifdef DDKAPP
VALUE "InternalName", "DIMAPCFG\0"
#else
VALUE "InternalName", "DIMAPTST\0"
#endif
VALUE "LegalCopyright", "Copyright <20> 1999-2000 Microsoft Corporation\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "\0"
VALUE "PrivateBuild", "\0"
#ifdef DDKAPP
VALUE "ProductName", "DirectInput(TM) Mapper Configuration Tool\0"
#else
VALUE "ProductName", "DirectInput(TM) Mapper Test Tool\0"
#endif
VALUE "ProductVersion", "1.00\0"
VALUE "SpecialBuild", "\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
//===========================================================================
//===========================================================================
// IDD_MAIN
//
// main app dialog
//===========================================================================
//===========================================================================
IDD_MAIN DIALOG DISCARDABLE 0, 0, 230, 50//0, 0, 394, 115
STYLE DS_MODALFRAME | WS_MINIMIZEBOX |WS_POPUP | WS_CAPTION | WS_SYSMENU
#ifdef DDKAPP
CAPTION "DirectInput Mapper Device Configuration Tool"
#else
CAPTION "DirectInput Mapper Test Tool - MICROSOFT INTERNAL BUILD"
#endif
FONT 8, "MS Shell Dlg"
BEGIN
//=======================================
// Global app UI elements
//=======================================
#ifdef DDKAPP
PUSHBUTTON "&Edit Graphic",IDC_LAUNCH_CPL_EDIT_MODE,172,28,53,14,//319,82,50,14,
WS_DISABLED
#endif
// genre and device selection
//LTEXT "&Genre group:",IDC_GENRES_LABEL,7,29,42,8
COMBOBOX IDC_DEVICE_GENRES,/*52,8,102,86,*/52,27,174,86,CBS_DROPDOWNLIST |
CBS_SORT | WS_VSCROLL | WS_TABSTOP | NOT WS_VISIBLE |
WS_DISABLED
PUSHBUTTON "Re-&Enumerate",IDC_ENUM_DEVICES,103,28,60,14//166,7,60,14
LTEXT "&Devices:",IDC_DEVICES_LABEL,9,10,29,8,WS_DISABLED
#ifdef DDKAPP
// we DO want to sort the list in the DDK app
COMBOBOX IDC_DEVICE_LIST,44,9,181,86/*271,8,115,86*/,CBS_DROPDOWNLIST | CBS_SORT |
WS_DISABLED | WS_VSCROLL | WS_TABSTOP
#else
// we do NOT want to sort the list in the SDK and INTERNAL apps
COMBOBOX IDC_DEVICE_LIST,44,9,181,86,/*271,8,115,86,*/CBS_DROPDOWNLIST |
WS_DISABLED | WS_VSCROLL | WS_TABSTOP
#endif
//LTEXT "Genre:",IDC_GENRE_LABEL,7,44,22,11//27,25,22,8
COMBOBOX IDC_SUBGENRES,/*52,24,334,64,*/52,43,174,64,CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP | NOT WS_VISIBLE |
WS_DISABLED
// test flow control
//GROUPBOX "Test control",IDC_TEST_CTRL_GROUP,7,41,124,65,
// WS_DISABLED
//PUSHBUTTON "Sto&p",IDCANCEL,68,81,50,14,WS_DISABLED
//CONTROL "&Use DirectInput Mapper UI",IDC_USE_CPL,"Button",
// BS_AUTORADIOBUTTON | WS_DISABLED | WS_GROUP,11,55,107,10
//CONTROL "Use &integrated test UI",IDC_USE_INTEGRATED,"Button",
// BS_AUTORADIOBUTTON | WS_DISABLED,11,67,85,10
#ifdef DDKAPP
//=======================================
// DDK app specific UI elements
//=======================================
// create mapping file
//GROUPBOX "Mapping File",IDC_MAPPING_FILE_GROUP,136,41,250,65,
// WS_DISABLED
CONTROL "Use initial mappings",IDC_START_WITH_DEFAULTS,"Button",
BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,10,62,78,10//305,52,78,10
// PUSHBUTTON "C&onfigure",IDC_CONFIGURE,319,66,50,14,WS_DISABLED
//CONTROL "Save &standard mapping information file",IDC_SAVE_STD,
// "Button",BS_AUTORADIOBUTTON | WS_DISABLED | WS_GROUP,150,
// 62,137,10
CONTROL "Save minimal &mapping information file",IDC_SAVE_HID,
"Button",BS_AUTORADIOBUTTON | NOT WS_VISIBLE |
WS_DISABLED,150,73,133,10
CONTROL "Save &both mapping information file tyes",IDC_SAVE_BOTH,
"Button",BS_AUTORADIOBUTTON | NOT WS_VISIBLE |
WS_DISABLED,150,84,139,10
//GROUPBOX "",IDC_STATIC,141,53,160,45
#else
//=======================================
// INTERNAL test app specific UI elements
//=======================================
// verification mode
GROUPBOX "Verification mode",IDC_VERIFY_GROUP,136,42,122,65,
WS_DISABLED
CONTROL "&Manual",IDC_VERIFY_MANUAL,"Button",BS_AUTORADIOBUTTON |
WS_DISABLED | WS_GROUP,142,52,39,10
CONTROL "&Automatic",IDC_VERIFY_AUTOMATIC,"Button",
BS_AUTORADIOBUTTON | WS_DISABLED,142,65,47,10
CONTROL "Manual o&verride",IDC_VERIFY_MANUAL_OVERRIDE,"Button",
BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,153,76,67,10
// stress options
GROUPBOX "Stress options",IDC_STRESS_OPTS_GROUP,262,42,124,65
CONTROL "St&ress mode",IDC_STRESS_MODE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,269,54,55,10
PUSHBUTTON "C&onfigure",IDC_CONFIGURE,328,71,50,14,WS_DISABLED
PUSHBUTTON "Start Stress",IDC_STRESS_START,328,87,50,14,WS_DISABLED
// stress results counters
GROUPBOX "Stress results",IDC_STRESS_RESULTS_GROUP,7,203,379,69
LTEXT "Threads:",IDC_RUNNING_THREADS_LABEL,15,214,55,8
RTEXT "0",IDC_RUNNING_THREADS,80,214,48,8
LTEXT "Genres:",IDC_TESTED_GENRES_LABEL,15,236,55,8
RTEXT "0",IDC_TESTED_GENRES,80,236,48,8
LTEXT "Fail expected:",IDC_FAIL_EXPECTED_LABEL,15,247,55,8
LTEXT "Failures:",IDC_FAILURES_LABEL,15,258,55,8
RTEXT "0",IDC_FAIL_EXPECTED,80,247,48,8
RTEXT "0",IDC_FAILURES,80,258,48,8
LTEXT "Suitable devices:",IDC_SUITABLE_DEVICES_LABEL,15,225,55,
8
RTEXT "0",IDC_SUITABLE_DEVICES,80,225,48,8
#endif
END
//===========================================================================
//===========================================================================
// IDD_ABOUT
//
// "About..."
//===========================================================================
//===========================================================================
IDD_ABOUT DIALOG DISCARDABLE 0, 0, 186, 95
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
#ifdef DDKAPP
CAPTION "About DirectInput Mapper Test Tool"
#else
CAPTION "About DirectInput Mapper Test Tool"
#endif
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK",IDOK,129,7,50,14
PUSHBUTTON "Cancel",IDCANCEL,129,24,50,14
END
//===========================================================================
//===========================================================================
// IDD_STRESS_CFG
//
// "Configure Stress Options"
//===========================================================================
//===========================================================================
IDD_STRESS_CFG DIALOG DISCARDABLE 0, 0, 166, 226
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Configure Stress Options"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK",IDOK,55,205,50,14
PUSHBUTTON "Cancel",IDCANCEL,109,205,50,14
LTEXT "&Number of threads:",IDC_NUMTHREADS_LABEL,7,13,61,8
EDITTEXT IDC_NUMTHREADS,72,10,40,14,ES_AUTOHSCROLL
CONTROL "&All threads use the same settings",
IDC_ALL_THREADS_USE_SAME,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,7,31,119,10
GROUPBOX "Thread settings",IDC_STATIC,7,47,152,150
LTEXT "&Thread number:",IDC_THREADNUM_LABEL,13,61,51,8
EDITTEXT IDC_THREADNUM,69,58,40,14,ES_AUTOHSCROLL | WS_DISABLED
CONTROL "&User name:",IDC_USE_USERNAME,"Button",BS_AUTOCHECKBOX |
WS_DISABLED | WS_TABSTOP,13,79,52,10
EDITTEXT IDC_USERNAME,69,77,76,14,ES_AUTOHSCROLL | WS_DISABLED
CONTROL "Use separate &app GUID",IDC_USE_APP_GUID,"Button",
BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,13,93,92,10
CONTROL "Customize available controller genres",
IDC_USE_CUSTOM_GENRES,"Button",BS_AUTOCHECKBOX |
WS_DISABLED | WS_TABSTOP,13,107,132,10
LTEXT "&Genres:",IDC_GENRES_LABEL,7,10,42,8,WS_DISABLED//14,122,26,8,WS_DISABLED
LISTBOX IDC_DEVICE_GENRES,13,134,134,52,LBS_SORT |
LBS_MULTIPLESEL | LBS_NOINTEGRALHEIGHT | WS_DISABLED |
WS_VSCROLL | WS_TABSTOP
END
//===========================================================================
//===========================================================================
// IDD_CONFIGURE_MAPPING_PAGE
//
// "Configure Device Control Mappings" property page
//===========================================================================
//===========================================================================
IDD_CONFIGURE_MAPPING_PAGE DIALOG DISCARDABLE 0, 0, 369, 187
STYLE DS_MODALFRAME | WS_POPUP
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Genre:",IDC_SUBGENRE_LABEL,7,9,22,8
COMBOBOX IDC_SUBGENRE,54,7,308,86,CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
LTEXT "Description:",IDC_STATIC,170,28,44,8
LTEXT "",IDC_DESCRIPTION,170,42,192,16
GROUPBOX "Control type",IDC_STATIC,7,28,153,30
CONTROL "A&xis",IDC_TYPE_AXIS,"Button",BS_AUTORADIOBUTTON |
WS_DISABLED | WS_GROUP,13,42,29,10
CONTROL "&Button",IDC_TYPE_BUTTON,"Button",BS_AUTORADIOBUTTON |
WS_DISABLED,58,42,37,10
CONTROL "&POV Hat",IDC_TYPE_POV,"Button",BS_AUTORADIOBUTTON |
WS_DISABLED,111,42,44,10
LTEXT "&Control:",IDC_CONTROL_LABEL,7,67,25,8
LISTBOX IDC_CONTROLS,7,78,174,81,LBS_SORT | LBS_NOINTEGRALHEIGHT |
WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
LTEXT "A&vailable actions:",IDC_ACTIONS_LABEL,188,67,56,8
LISTBOX IDC_ACTIONS,188,78,174,81,LBS_SORT |
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL |
WS_TABSTOP
PUSHBUTTON "&Map action",IDC_STORE_MAPPING,206,166,50,14
PUSHBUTTON "&Unmap action",IDC_UNMAP,259,166,50,14,WS_DISABLED
PUSHBUTTON "U&nmap All",IDC_UNMAP_ALL,312,166,50,14,WS_DISABLED
END
//===========================================================================
//===========================================================================
// IDD_CONFIGURE_GAME_SOURCE
//
// "Configure Device Mapping Source Code"
//===========================================================================
//===========================================================================
IDD_CONFIGURE_GAME_SOURCE DIALOG DISCARDABLE 0, 0, 368, 196
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Configure Device Mapping Source Code"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK",IDOK,255,175,50,14
PUSHBUTTON "Cancel",IDCANCEL,311,175,50,14
LTEXT "&Genre:",IDC_SUBGENRE_LABEL,7,9,22,8
GROUPBOX "Control type",IDC_STATIC,7,27,159,32
CONTROL "&Axis",IDC_TYPE_AXIS,"Button",BS_AUTORADIOBUTTON,17,41,
29,10
CONTROL "&Button",IDC_TYPE_BUTTON,"Button",BS_AUTORADIOBUTTON,57,
41,37,10
CONTROL "&POV",IDC_TYPE_POV,"Button",BS_AUTORADIOBUTTON,105,41,
31,10
LTEXT "A&vailable actions:",IDC_ACTIONS_LABEL,7,65,56,8
LISTBOX IDC_ACTIONS,7,78,146,91,LBS_SORT | LBS_MULTIPLESEL |
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL |
WS_TABSTOP
PUSHBUTTON "Add &>>>",IDC_ADD_ACTION,158,87,50,14
PUSHBUTTON "&<<< Remove",IDC_REMOVE_ACTION,158,107,50,14
PUSHBUTTON "&Rename",IDC_RENAME_ACTION,158,126,50,14
PUSHBUTTON "&Custom",IDC_CUSTOM_ACTION,158,145,50,14
LTEXT "&Selected actions:",IDC_SELECTED_ACTION_LABEL,215,65,56,
8
LISTBOX IDC_SELECTED_ACTIONS,215,78,146,91,LBS_SORT |
LBS_MULTIPLESEL | LBS_NOINTEGRALHEIGHT | WS_VSCROLL |
WS_HSCROLL | WS_TABSTOP
EDITTEXT IDC_SUBGENRE,35,7,326,14,ES_AUTOHSCROLL | ES_READONLY
LTEXT "",IDC_DESCRIPTION,175,27,186,32
END
//===========================================================================
//===========================================================================
// IDD_FAILURE_DETAILS
//
// Failure information entering dialog
//===========================================================================
//===========================================================================
IDD_FAILURE_DETAILS DIALOG DISCARDABLE 0, 0, 186, 236
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Test failure details"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Please enter a brief description of the failure (what did not work, expected results, etc).",
IDC_STATIC,7,7,172,18
EDITTEXT IDC_FAILURE_INFO,7,28,172,181,ES_AUTOHSCROLL
DEFPUSHBUTTON "OK",IDOK,75,215,50,14
PUSHBUTTON "Cancel",IDCANCEL,129,215,50,14
END
//===========================================================================
//===========================================================================
// IDD_SAVE_CONFIRMATION
//
// Prompts when asking to save semantic mappings.
//===========================================================================
//===========================================================================
IDD_SAVE_CONFIRMATION DIALOG DISCARDABLE 0, 0, 186, 86
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Save"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Save semantic mappings for genre group?",IDC_STATIC,7,7,
172,8
EDITTEXT IDC_GENRE_GROUP,7,20,172,14,ES_CENTER | ES_AUTOHSCROLL |
ES_READONLY
CONTROL "&Use this option for all remaining genre groups",
IDC_NO_PROMPT,"Button",BS_AUTOCHECKBOX | WS_DISABLED |
WS_TABSTOP,7,42,172,10
DEFPUSHBUTTON "Yes",IDOK,22,65,50,14
PUSHBUTTON "No",IDC_DONT_SAVE,75,65,50,14
PUSHBUTTON "Cancel",IDCANCEL,128,65,50,14
END
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// So that only the correct icon for the test tool is displayed, we will be
// conditionally compiling these resources.
//
#ifdef DDKAPP
IDI_DIMAPTST ICON DISCARDABLE "res\\ddkapp.ico"
#else
IDI_DIMAPTST ICON DISCARDABLE "res\\internal.ico"
#endif