[MSPORTS] Improve the Port Settings page for parallel ports. Add "LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL" to the main RC file. By Jared Smudde with some changes by me. CORE-9653

svn path=/trunk/; revision=67757
This commit is contained in:
Amine Khaldi 2015-05-16 09:47:18 +00:00
parent 35a85dbcaf
commit 3456a302fa
13 changed files with 151 additions and 10 deletions

View file

@ -24,5 +24,18 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Настройки на излаза (порта)"
FONT 8, "MS Shell Dlg"
BEGIN
RTEXT "TEST", -1, 74, 19, 62, 8, WS_GROUP
GROUPBOX "Filter Resource Method", -1, 6, 6, 237, 75, WS_GROUP
AUTORADIOBUTTON "Try not to use an interrupt", IDC_TRY_INTERRUPT, 11, 22, 98, 10
AUTORADIOBUTTON "Never use an interrupt", IDC_NEVER_INTERRUPT, 11, 44, 98, 10
AUTORADIOBUTTON "Use any interrupt assigned to the port", IDC_ANY_INTERRUPT, 11, 66, 98, 10, WS_GROUP
AUTOCHECKBOX "Enable legacy Plug and Play detection", -1, 6, 90, 135, 10
LTEXT "LPT Port Number:", -1, 6, 105, 140, 10, WS_GROUP
COMBOBOX IDC_PARALLEL_NAME, 65, 105, 75, 20, WS_TABSTOP | CBS_DROPDOWNLIST
END
STRINGTABLE
BEGIN
IDS_LPT1 "LPT1"
IDS_LPT2 "LPT2"
IDS_LPT3 "LPT3"
END

View file

@ -24,5 +24,18 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Porteinstellungen"
FONT 8, "MS Shell Dlg"
BEGIN
RTEXT "TEST", -1, 74, 19, 62, 8, WS_GROUP
GROUPBOX "Filter Resource Method", -1, 6, 6, 237, 75, WS_GROUP
AUTORADIOBUTTON "Try not to use an interrupt", IDC_TRY_INTERRUPT, 11, 22, 98, 10
AUTORADIOBUTTON "Never use an interrupt", IDC_NEVER_INTERRUPT, 11, 44, 98, 10
AUTORADIOBUTTON "Use any interrupt assigned to the port", IDC_ANY_INTERRUPT, 11, 66, 98, 10, WS_GROUP
AUTOCHECKBOX "Enable legacy Plug and Play detection", -1, 6, 90, 135, 10
LTEXT "LPT Port Number:", -1, 6, 105, 140, 10, WS_GROUP
COMBOBOX IDC_PARALLEL_NAME, 65, 105, 75, 20, WS_TABSTOP | CBS_DROPDOWNLIST
END
STRINGTABLE
BEGIN
IDS_LPT1 "LPT1"
IDS_LPT2 "LPT2"
IDS_LPT3 "LPT3"
END

View file

@ -24,5 +24,18 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Port Settings"
FONT 8, "MS Shell Dlg"
BEGIN
RTEXT "TEST", -1, 74, 19, 62, 8, WS_GROUP
GROUPBOX "Filter Resource Method", -1, 6, 6, 237, 75, WS_GROUP
AUTORADIOBUTTON "Try not to use an interrupt", IDC_TRY_INTERRUPT, 11, 22, 98, 10
AUTORADIOBUTTON "Never use an interrupt", IDC_NEVER_INTERRUPT, 11, 44, 98, 10
AUTORADIOBUTTON "Use any interrupt assigned to the port", IDC_ANY_INTERRUPT, 11, 66, 98, 10, WS_GROUP
AUTOCHECKBOX "Enable legacy Plug and Play detection", -1, 6, 90, 135, 10
LTEXT "LPT Port Number:", -1, 6, 105, 140, 10, WS_GROUP
COMBOBOX IDC_PARALLEL_NAME, 65, 105, 75, 20, WS_TABSTOP | CBS_DROPDOWNLIST
END
STRINGTABLE
BEGIN
IDS_LPT1 "LPT1"
IDS_LPT2 "LPT2"
IDS_LPT3 "LPT3"
END

View file

@ -24,5 +24,18 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "הגדרות יציאה"
FONT 8, "MS Shell Dlg"
BEGIN
RTEXT "TEST", -1, 74, 19, 62, 8, WS_GROUP
GROUPBOX "Filter Resource Method", -1, 6, 6, 237, 75, WS_GROUP
AUTORADIOBUTTON "Try not to use an interrupt", IDC_TRY_INTERRUPT, 11, 22, 98, 10
AUTORADIOBUTTON "Never use an interrupt", IDC_NEVER_INTERRUPT, 11, 44, 98, 10
AUTORADIOBUTTON "Use any interrupt assigned to the port", IDC_ANY_INTERRUPT, 11, 66, 98, 10, WS_GROUP
AUTOCHECKBOX "Enable legacy Plug and Play detection", -1, 6, 90, 135, 10
LTEXT "LPT Port Number:", -1, 6, 105, 140, 10, WS_GROUP
COMBOBOX IDC_PARALLEL_NAME, 65, 105, 75, 20, WS_TABSTOP | CBS_DROPDOWNLIST
END
STRINGTABLE
BEGIN
IDS_LPT1 "LPT1"
IDS_LPT2 "LPT2"
IDS_LPT3 "LPT3"
END

View file

@ -32,5 +32,18 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Ustawienia portu"
FONT 8, "MS Shell Dlg"
BEGIN
RTEXT "TEST", -1, 74, 19, 62, 8, WS_GROUP
GROUPBOX "Filter Resource Method", -1, 6, 6, 237, 75, WS_GROUP
AUTORADIOBUTTON "Try not to use an interrupt", IDC_TRY_INTERRUPT, 11, 22, 98, 10
AUTORADIOBUTTON "Never use an interrupt", IDC_NEVER_INTERRUPT, 11, 44, 98, 10
AUTORADIOBUTTON "Use any interrupt assigned to the port", IDC_ANY_INTERRUPT, 11, 66, 98, 10, WS_GROUP
AUTOCHECKBOX "Enable legacy Plug and Play detection", -1, 6, 90, 135, 10
LTEXT "LPT Port Number:", -1, 6, 105, 140, 10, WS_GROUP
COMBOBOX IDC_PARALLEL_NAME, 65, 105, 75, 20, WS_TABSTOP | CBS_DROPDOWNLIST
END
STRINGTABLE
BEGIN
IDS_LPT1 "LPT1"
IDS_LPT2 "LPT2"
IDS_LPT3 "LPT3"
END

View file

@ -31,5 +31,18 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Configurația portului"
FONT 8, "MS Shell Dlg"
BEGIN
RTEXT "TEST", -1, 74, 19, 62, 8, WS_GROUP
GROUPBOX "Filter Resource Method", -1, 6, 6, 237, 75, WS_GROUP
AUTORADIOBUTTON "Try not to use an interrupt", IDC_TRY_INTERRUPT, 11, 22, 98, 10
AUTORADIOBUTTON "Never use an interrupt", IDC_NEVER_INTERRUPT, 11, 44, 98, 10
AUTORADIOBUTTON "Use any interrupt assigned to the port", IDC_ANY_INTERRUPT, 11, 66, 98, 10, WS_GROUP
AUTOCHECKBOX "Enable legacy Plug and Play detection", -1, 6, 90, 135, 10
LTEXT "LPT Port Number:", -1, 6, 105, 140, 10, WS_GROUP
COMBOBOX IDC_PARALLEL_NAME, 65, 105, 75, 20, WS_TABSTOP | CBS_DROPDOWNLIST
END
STRINGTABLE
BEGIN
IDS_LPT1 "LPT1"
IDS_LPT2 "LPT2"
IDS_LPT3 "LPT3"
END

View file

@ -26,5 +26,18 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Параметры порта"
FONT 8, "MS Shell Dlg"
BEGIN
RTEXT "TEST", -1, 74, 19, 62, 8, WS_GROUP
GROUPBOX "Filter Resource Method", -1, 6, 6, 237, 75, WS_GROUP
AUTORADIOBUTTON "Try not to use an interrupt", IDC_TRY_INTERRUPT, 11, 22, 98, 10
AUTORADIOBUTTON "Never use an interrupt", IDC_NEVER_INTERRUPT, 11, 44, 98, 10
AUTORADIOBUTTON "Use any interrupt assigned to the port", IDC_ANY_INTERRUPT, 11, 66, 98, 10, WS_GROUP
AUTOCHECKBOX "Enable legacy Plug and Play detection", -1, 6, 90, 135, 10
LTEXT "LPT Port Number:", -1, 6, 105, 140, 10, WS_GROUP
COMBOBOX IDC_PARALLEL_NAME, 65, 105, 75, 20, WS_TABSTOP | CBS_DROPDOWNLIST
END
STRINGTABLE
BEGIN
IDS_LPT1 "LPT1"
IDS_LPT2 "LPT2"
IDS_LPT3 "LPT3"
END

View file

@ -28,5 +28,18 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Cilësimet Portit"
FONT 8, "MS Shell Dlg"
BEGIN
RTEXT "TESTO", -1, 74, 19, 62, 8, WS_GROUP
GROUPBOX "Filter Resource Method", -1, 6, 6, 237, 75, WS_GROUP
AUTORADIOBUTTON "Try not to use an interrupt", IDC_TRY_INTERRUPT, 11, 22, 98, 10
AUTORADIOBUTTON "Never use an interrupt", IDC_NEVER_INTERRUPT, 11, 44, 98, 10
AUTORADIOBUTTON "Use any interrupt assigned to the port", IDC_ANY_INTERRUPT, 11, 66, 98, 10, WS_GROUP
AUTOCHECKBOX "Enable legacy Plug and Play detection", -1, 6, 90, 135, 10
LTEXT "LPT Port Number:", -1, 6, 105, 140, 10, WS_GROUP
COMBOBOX IDC_PARALLEL_NAME, 65, 105, 75, 20, WS_TABSTOP | CBS_DROPDOWNLIST
END
STRINGTABLE
BEGIN
IDS_LPT1 "LPT1"
IDS_LPT2 "LPT2"
IDS_LPT3 "LPT3"
END

View file

@ -26,5 +26,18 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Giriş Ayarları"
FONT 8, "MS Shell Dlg"
BEGIN
RTEXT "DENEME", -1, 74, 19, 62, 8, WS_GROUP
GROUPBOX "Filter Resource Method", -1, 6, 6, 237, 75, WS_GROUP
AUTORADIOBUTTON "Try not to use an interrupt", IDC_TRY_INTERRUPT, 11, 22, 98, 10
AUTORADIOBUTTON "Never use an interrupt", IDC_NEVER_INTERRUPT, 11, 44, 98, 10
AUTORADIOBUTTON "Use any interrupt assigned to the port", IDC_ANY_INTERRUPT, 11, 66, 98, 10, WS_GROUP
AUTOCHECKBOX "Enable legacy Plug and Play detection", -1, 6, 90, 135, 10
LTEXT "LPT Port Number:", -1, 6, 105, 140, 10, WS_GROUP
COMBOBOX IDC_PARALLEL_NAME, 65, 105, 75, 20, WS_TABSTOP | CBS_DROPDOWNLIST
END
STRINGTABLE
BEGIN
IDS_LPT1 "LPT1"
IDS_LPT2 "LPT2"
IDS_LPT3 "LPT3"
END

View file

@ -32,5 +32,18 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Параметри порту"
FONT 8, "MS Shell Dlg"
BEGIN
RTEXT "TEST", -1, 74, 19, 62, 8, WS_GROUP
GROUPBOX "Filter Resource Method", -1, 6, 6, 237, 75, WS_GROUP
AUTORADIOBUTTON "Try not to use an interrupt", IDC_TRY_INTERRUPT, 11, 22, 98, 10
AUTORADIOBUTTON "Never use an interrupt", IDC_NEVER_INTERRUPT, 11, 44, 98, 10
AUTORADIOBUTTON "Use any interrupt assigned to the port", IDC_ANY_INTERRUPT, 11, 66, 98, 10, WS_GROUP
AUTOCHECKBOX "Enable legacy Plug and Play detection", -1, 6, 90, 135, 10
LTEXT "LPT Port Number:", -1, 6, 105, 140, 10, WS_GROUP
COMBOBOX IDC_PARALLEL_NAME, 65, 105, 75, 20, WS_TABSTOP | CBS_DROPDOWNLIST
END
STRINGTABLE
BEGIN
IDS_LPT1 "LPT1"
IDS_LPT2 "LPT2"
IDS_LPT3 "LPT3"
END

View file

@ -3,6 +3,8 @@
#include "resource.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#define REACTOS_VERSION_DLL
#define REACTOS_STR_FILE_DESCRIPTION "Ports Class Installer"
#define REACTOS_STR_INTERNAL_NAME "msports"

View file

@ -32,6 +32,7 @@ ParallelSettingsDlgProc(HWND hwnd,
switch (uMsg)
{
case WM_INITDIALOG:
SendDlgItemMessage(hwnd, IDC_NEVER_INTERRUPT, BM_SETCHECK, (WPARAM)BST_CHECKED, (LPARAM)0);
return OnInitDialog(hwnd, wParam, lParam);
}

View file

@ -8,5 +8,13 @@
#define IDC_SERIAL_FLOWCONTROL 205
#define IDC_SERIAL_ADVANCED 206
#define IDC_SERIAL_RESTORE 207
#define IDC_PARALLEL_NAME 208
#define IDC_TRY_INTERRUPT 209
#define IDC_NEVER_INTERRUPT 210
#define IDC_ANY_INTERRUPT 211
#define IDS_LPT1 212
#define IDS_LPT2 213
#define IDS_LPT3 214
#define IDD_PARALLELSETTINGS 220