Author: ekohl
Date: Fri Sep 7 15:17:09 2007
New Revision: 28917
URL:
http://svn.reactos.org/svn/reactos?rev=28917&view=rev
Log:
Add the serial keys settings dialog.
Modified:
trunk/reactos/dll/cpl/access/general.c
trunk/reactos/dll/cpl/access/lang/cs-CZ.rc
trunk/reactos/dll/cpl/access/lang/de-DE.rc
trunk/reactos/dll/cpl/access/lang/en-US.rc
trunk/reactos/dll/cpl/access/lang/es-ES.rc
trunk/reactos/dll/cpl/access/lang/fr-FR.rc
trunk/reactos/dll/cpl/access/lang/hu-HU.rc
trunk/reactos/dll/cpl/access/lang/id-ID.rc
trunk/reactos/dll/cpl/access/lang/it-IT.rc
trunk/reactos/dll/cpl/access/lang/ja-JP.rc
trunk/reactos/dll/cpl/access/lang/nl-NL.rc
trunk/reactos/dll/cpl/access/lang/pl-PL.rc
trunk/reactos/dll/cpl/access/lang/ru-RU.rc
trunk/reactos/dll/cpl/access/resource.h
Modified: trunk/reactos/dll/cpl/access/general.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/general.c?r…
==============================================================================
--- trunk/reactos/dll/cpl/access/general.c (original)
+++ trunk/reactos/dll/cpl/access/general.c Fri Sep 7 15:17:09 2007
@@ -22,9 +22,102 @@
{
ACCESSTIMEOUT accessTimeout;
SERIALKEYS serialKeys;
+ TCHAR szActivePort[MAX_PATH];
+ TCHAR szPort[MAX_PATH];
BOOL bWarningSounds;
BOOL bSoundOnActivation;
} GLOBAL_DATA, *PGLOBAL_DATA;
+
+
+#define BAUDTICKS 6
+static INT nBaudArray[BAUDTICKS] = {300, 1200, 2400, 4800, 9600, 19200};
+
+
+INT_PTR CALLBACK
+SerialKeysDlgProc(HWND hwndDlg,
+ UINT uMsg,
+ WPARAM wParam,
+ LPARAM lParam)
+{
+ PGLOBAL_DATA pGlobalData;
+ INT i, n;
+
+ pGlobalData = (PGLOBAL_DATA)GetWindowLongPtr(hwndDlg, DWLP_USER);
+
+ switch (uMsg)
+ {
+ case WM_INITDIALOG:
+ pGlobalData = (PGLOBAL_DATA)lParam;
+ SetWindowLongPtr(hwndDlg, DWLP_USER, (LONG_PTR)pGlobalData);
+
+ /* Add the COM-Ports 1 - 4 to the list */
+ for (i = 0; i < 4; i++)
+ {
+ TCHAR szBuffer[256];
+
+ _stprintf(szBuffer, _T("COM%d"), i + 1);
+ SendDlgItemMessage(hwndDlg, IDC_SERIAL_PORT_COMBO, CB_ADDSTRING, 0,
(LPARAM)szBuffer);
+ }
+
+ /* Determine the current port */
+ if (pGlobalData->serialKeys.lpszActivePort &&
pGlobalData->serialKeys.lpszActivePort[0])
+ {
+ i = pGlobalData->serialKeys.lpszActivePort[3] - '1';
+ if (i < 0 || i > 3)
+ i = 0;
+ }
+ else
+ {
+ /* Make COM1 the default port */
+ i = 0;
+ _tcscpy(pGlobalData->serialKeys.lpszActivePort,
_T("COM1"));
+ }
+
+ /* Set the current port */
+ SendDlgItemMessage(hwndDlg, IDC_SERIAL_PORT_COMBO, CB_SETCURSEL, i, 0);
+
+ /* Determine the current baud rate */
+ n = 0;
+ for (i = 0; i < BAUDTICKS; i++)
+ {
+ TCHAR szBuffer[256];
+
+ _stprintf(szBuffer, _T("%d Baud"), nBaudArray[i]);
+ SendDlgItemMessage(hwndDlg, IDC_SERIAL_BAUD_COMBO, CB_ADDSTRING, 0,
(LPARAM)szBuffer);
+
+ if (pGlobalData->serialKeys.iBaudRate == nBaudArray[i])
+ n = i;
+ }
+
+ /* Set the current baud rate */
+ SendDlgItemMessage(hwndDlg, IDC_SERIAL_BAUD_COMBO, CB_SETCURSEL, n, 0);
+ break;
+
+ case WM_COMMAND:
+ switch (LOWORD(wParam))
+ {
+ case IDOK:
+ i = SendDlgItemMessage(hwndDlg, IDC_SERIAL_PORT_COMBO, CB_GETCURSEL,
0, 0) + 1;
+ _stprintf(pGlobalData->serialKeys.lpszActivePort,
_T("COM%d"), i);
+
+ i = SendDlgItemMessage(hwndDlg, IDC_SERIAL_BAUD_COMBO, CB_GETCURSEL,
0, 0);
+ pGlobalData->serialKeys.iBaudRate = nBaudArray[i];
+
+ EndDialog(hwndDlg, TRUE);
+ break;
+
+ case IDCANCEL:
+ EndDialog(hwndDlg, FALSE);
+ break;
+
+ default:
+ break;
+ }
+ break;
+ }
+
+ return FALSE;
+}
static VOID
@@ -65,6 +158,8 @@
/* Get serial keys information */
pGlobalData->serialKeys.cbSize = sizeof(SERIALKEYS);
+ pGlobalData->serialKeys.lpszActivePort = pGlobalData->szActivePort;
+ pGlobalData->serialKeys.lpszPort = pGlobalData->szPort;
SystemParametersInfo(SPI_GETSERIALKEYS,
sizeof(SERIALKEYS),
&pGlobalData->serialKeys,
@@ -245,6 +340,12 @@
break;
case IDC_SERIAL_BUTTON:
+ if (DialogBoxParam(hApplet,
+ MAKEINTRESOURCE(IDD_SERIALKEYSOPTIONS),
+ hwndDlg,
+ (DLGPROC)SerialKeysDlgProc,
+ (LPARAM)pGlobalData))
+ PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
break;
case IDC_ADMIN_LOGON_BOX:
Modified: trunk/reactos/dll/cpl/access/lang/cs-CZ.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/lang/cs-CZ.…
==============================================================================
--- trunk/reactos/dll/cpl/access/lang/cs-CZ.rc (original)
+++ trunk/reactos/dll/cpl/access/lang/cs-CZ.rc Fri Sep 7 15:17:09 2007
@@ -268,6 +268,27 @@
END
+IDD_SERIALKEYSOPTIONS DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "SerialKeys Settings"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ GROUPBOX "Serial
Keys",-1,PROPSHEETPADDING(1),LABELLINE(1),PROPSHEETWIDTH-PROPSHEETPADDING(2),LABELLINE(10)
+ LTEXT "Choose the port where you connect an alternative input
device.",-1,PROPSHEETPADDING(2),LABELLINE(2),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+
+ LTEXT "&Serial
port:",-1,PROPSHEETPADDING(2),LABELLINE(3)+5,PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_PORT_COMBO, PROPSHEETPADDING(2), LABELLINE(4)+7,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(6),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ LTEXT "&Baud
rate:",-1,PROPSHEETPADDING(2),LABELLINE(7),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_BAUD_COMBO, PROPSHEETPADDING(2), LABELLINE(8)+2,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(8),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ DEFPUSHBUTTON "OK", IDOK, PROPSHEETWIDTH-111, PROPSHEETHEIGHT-21, 50, 14
+ PUSHBUTTON "Cancel", IDCANCEL, PROPSHEETWIDTH-57, PROPSHEETHEIGHT-21, 50, 14
+END
+
+
STRINGTABLE
BEGIN
IDS_CPLSYSTEMNAME "Monosti usnadnìní"
Modified: trunk/reactos/dll/cpl/access/lang/de-DE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/lang/de-DE.…
==============================================================================
--- trunk/reactos/dll/cpl/access/lang/de-DE.rc (original)
+++ trunk/reactos/dll/cpl/access/lang/de-DE.rc Fri Sep 7 15:17:09 2007
@@ -245,7 +245,7 @@
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Repeat
Keys",-1,PROPSHEETPADDING(1),LABELLINE(1),PROPSHEETWIDTH-PROPSHEETPADDING(2),LABELLINE(12)
- LTEXT "Tastatureinstellungen in der Systmsteuerung
übergehen:",-1,PROPSHEETPADDING(2),LABELLINE(2),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ LTEXT "Tastatureinstellungen in der Systemsteuerung
übergehen:",-1,PROPSHEETPADDING(2),LABELLINE(2),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
AUTORADIOBUTTON "&Keine
Wiederholung",IDC_REPEAT_NOREPEAT_RADIO,PROPSHEETPADDING(2),LABELLINE(3)+3,78,LABELLINE(1),WS_GROUP
AUTORADIOBUTTON "&Wiederholungsraten
verlangsamen",IDC_REPEAT_REPEAT_RADIO,PROPSHEETPADDING(2),LABELLINE(4)+7,131,LABELLINE(1)
@@ -268,6 +268,27 @@
DEFPUSHBUTTON "OK", IDOK, PROPSHEETWIDTH-111, PROPSHEETHEIGHT-21, 50, 14
PUSHBUTTON "Abbrechen", IDCANCEL, PROPSHEETWIDTH-57, PROPSHEETHEIGHT-21, 50,
14
+END
+
+
+IDD_SERIALKEYSOPTIONS DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "SerialKeys Settings"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ GROUPBOX "Serial
Keys",-1,PROPSHEETPADDING(1),LABELLINE(1),PROPSHEETWIDTH-PROPSHEETPADDING(2),LABELLINE(10)
+ LTEXT "Choose the port where you connect an alternative input
device.",-1,PROPSHEETPADDING(2),LABELLINE(2),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+
+ LTEXT "&Serial
port:",-1,PROPSHEETPADDING(2),LABELLINE(3)+5,PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_PORT_COMBO, PROPSHEETPADDING(2), LABELLINE(4)+7,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(6),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ LTEXT "&Baud
rate:",-1,PROPSHEETPADDING(2),LABELLINE(7),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_BAUD_COMBO, PROPSHEETPADDING(2), LABELLINE(8)+2,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(8),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ DEFPUSHBUTTON "OK", IDOK, PROPSHEETWIDTH-111, PROPSHEETHEIGHT-21, 50, 14
+ PUSHBUTTON "Cancel", IDCANCEL, PROPSHEETWIDTH-57, PROPSHEETHEIGHT-21, 50, 14
END
Modified: trunk/reactos/dll/cpl/access/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/lang/en-US.…
==============================================================================
--- trunk/reactos/dll/cpl/access/lang/en-US.rc (original)
+++ trunk/reactos/dll/cpl/access/lang/en-US.rc Fri Sep 7 15:17:09 2007
@@ -268,6 +268,27 @@
END
+IDD_SERIALKEYSOPTIONS DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "SerialKeys Settings"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ GROUPBOX "Serial
Keys",-1,PROPSHEETPADDING(1),LABELLINE(1),PROPSHEETWIDTH-PROPSHEETPADDING(2),LABELLINE(10)
+ LTEXT "Choose the port where you connect an alternative input
device.",-1,PROPSHEETPADDING(2),LABELLINE(2),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+
+ LTEXT "&Serial
port:",-1,PROPSHEETPADDING(2),LABELLINE(3)+5,PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_PORT_COMBO, PROPSHEETPADDING(2), LABELLINE(4)+7,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(6),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ LTEXT "&Baud
rate:",-1,PROPSHEETPADDING(2),LABELLINE(7),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_BAUD_COMBO, PROPSHEETPADDING(2), LABELLINE(8)+2,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(8),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ DEFPUSHBUTTON "OK", IDOK, PROPSHEETWIDTH-111, PROPSHEETHEIGHT-21, 50, 14
+ PUSHBUTTON "Cancel", IDCANCEL, PROPSHEETWIDTH-57, PROPSHEETHEIGHT-21, 50, 14
+END
+
+
STRINGTABLE
BEGIN
IDS_CPLSYSTEMNAME "Accessibility"
Modified: trunk/reactos/dll/cpl/access/lang/es-ES.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/lang/es-ES.…
==============================================================================
--- trunk/reactos/dll/cpl/access/lang/es-ES.rc (original)
+++ trunk/reactos/dll/cpl/access/lang/es-ES.rc Fri Sep 7 15:17:09 2007
@@ -271,6 +271,27 @@
END
+IDD_SERIALKEYSOPTIONS DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "SerialKeys Settings"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ GROUPBOX "Serial
Keys",-1,PROPSHEETPADDING(1),LABELLINE(1),PROPSHEETWIDTH-PROPSHEETPADDING(2),LABELLINE(10)
+ LTEXT "Choose the port where you connect an alternative input
device.",-1,PROPSHEETPADDING(2),LABELLINE(2),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+
+ LTEXT "&Serial
port:",-1,PROPSHEETPADDING(2),LABELLINE(3)+5,PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_PORT_COMBO, PROPSHEETPADDING(2), LABELLINE(4)+7,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(6),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ LTEXT "&Baud
rate:",-1,PROPSHEETPADDING(2),LABELLINE(7),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_BAUD_COMBO, PROPSHEETPADDING(2), LABELLINE(8)+2,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(8),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ DEFPUSHBUTTON "OK", IDOK, PROPSHEETWIDTH-111, PROPSHEETHEIGHT-21, 50, 14
+ PUSHBUTTON "Cancel", IDCANCEL, PROPSHEETWIDTH-57, PROPSHEETHEIGHT-21, 50, 14
+END
+
+
STRINGTABLE
BEGIN
IDS_CPLSYSTEMNAME "Accessibilidad"
Modified: trunk/reactos/dll/cpl/access/lang/fr-FR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/lang/fr-FR.…
==============================================================================
--- trunk/reactos/dll/cpl/access/lang/fr-FR.rc (original)
+++ trunk/reactos/dll/cpl/access/lang/fr-FR.rc Fri Sep 7 15:17:09 2007
@@ -270,6 +270,27 @@
END
+IDD_SERIALKEYSOPTIONS DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "SerialKeys Settings"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ GROUPBOX "Serial
Keys",-1,PROPSHEETPADDING(1),LABELLINE(1),PROPSHEETWIDTH-PROPSHEETPADDING(2),LABELLINE(10)
+ LTEXT "Choose the port where you connect an alternative input
device.",-1,PROPSHEETPADDING(2),LABELLINE(2),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+
+ LTEXT "&Serial
port:",-1,PROPSHEETPADDING(2),LABELLINE(3)+5,PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_PORT_COMBO, PROPSHEETPADDING(2), LABELLINE(4)+7,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(6),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ LTEXT "&Baud
rate:",-1,PROPSHEETPADDING(2),LABELLINE(7),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_BAUD_COMBO, PROPSHEETPADDING(2), LABELLINE(8)+2,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(8),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ DEFPUSHBUTTON "OK", IDOK, PROPSHEETWIDTH-111, PROPSHEETHEIGHT-21, 50, 14
+ PUSHBUTTON "Cancel", IDCANCEL, PROPSHEETWIDTH-57, PROPSHEETHEIGHT-21, 50, 14
+END
+
+
STRINGTABLE
BEGIN
IDS_CPLSYSTEMNAME "Accessibilité"
Modified: trunk/reactos/dll/cpl/access/lang/hu-HU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/lang/hu-HU.…
==============================================================================
--- trunk/reactos/dll/cpl/access/lang/hu-HU.rc (original)
+++ trunk/reactos/dll/cpl/access/lang/hu-HU.rc Fri Sep 7 15:17:09 2007
@@ -269,6 +269,27 @@
END
+IDD_SERIALKEYSOPTIONS DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "SerialKeys Settings"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ GROUPBOX "Serial
Keys",-1,PROPSHEETPADDING(1),LABELLINE(1),PROPSHEETWIDTH-PROPSHEETPADDING(2),LABELLINE(10)
+ LTEXT "Choose the port where you connect an alternative input
device.",-1,PROPSHEETPADDING(2),LABELLINE(2),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+
+ LTEXT "&Serial
port:",-1,PROPSHEETPADDING(2),LABELLINE(3)+5,PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_PORT_COMBO, PROPSHEETPADDING(2), LABELLINE(4)+7,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(6),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ LTEXT "&Baud
rate:",-1,PROPSHEETPADDING(2),LABELLINE(7),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_BAUD_COMBO, PROPSHEETPADDING(2), LABELLINE(8)+2,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(8),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ DEFPUSHBUTTON "OK", IDOK, PROPSHEETWIDTH-111, PROPSHEETHEIGHT-21, 50, 14
+ PUSHBUTTON "Cancel", IDCANCEL, PROPSHEETWIDTH-57, PROPSHEETHEIGHT-21, 50, 14
+END
+
+
STRINGTABLE
BEGIN
IDS_CPLSYSTEMNAME "Kisegítõ lehetõségek"
Modified: trunk/reactos/dll/cpl/access/lang/id-ID.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/lang/id-ID.…
==============================================================================
--- trunk/reactos/dll/cpl/access/lang/id-ID.rc (original)
+++ trunk/reactos/dll/cpl/access/lang/id-ID.rc Fri Sep 7 15:17:09 2007
@@ -270,6 +270,27 @@
END
+IDD_SERIALKEYSOPTIONS DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "SerialKeys Settings"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ GROUPBOX "Serial
Keys",-1,PROPSHEETPADDING(1),LABELLINE(1),PROPSHEETWIDTH-PROPSHEETPADDING(2),LABELLINE(10)
+ LTEXT "Choose the port where you connect an alternative input
device.",-1,PROPSHEETPADDING(2),LABELLINE(2),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+
+ LTEXT "&Serial
port:",-1,PROPSHEETPADDING(2),LABELLINE(3)+5,PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_PORT_COMBO, PROPSHEETPADDING(2), LABELLINE(4)+7,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(6),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ LTEXT "&Baud
rate:",-1,PROPSHEETPADDING(2),LABELLINE(7),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_BAUD_COMBO, PROPSHEETPADDING(2), LABELLINE(8)+2,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(8),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ DEFPUSHBUTTON "OK", IDOK, PROPSHEETWIDTH-111, PROPSHEETHEIGHT-21, 50, 14
+ PUSHBUTTON "Cancel", IDCANCEL, PROPSHEETWIDTH-57, PROPSHEETHEIGHT-21, 50, 14
+END
+
+
STRINGTABLE
BEGIN
IDS_CPLSYSTEMNAME "Aksesibilitas"
Modified: trunk/reactos/dll/cpl/access/lang/it-IT.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/lang/it-IT.…
==============================================================================
--- trunk/reactos/dll/cpl/access/lang/it-IT.rc (original)
+++ trunk/reactos/dll/cpl/access/lang/it-IT.rc Fri Sep 7 15:17:09 2007
@@ -268,6 +268,27 @@
END
+IDD_SERIALKEYSOPTIONS DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "SerialKeys Settings"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ GROUPBOX "Serial
Keys",-1,PROPSHEETPADDING(1),LABELLINE(1),PROPSHEETWIDTH-PROPSHEETPADDING(2),LABELLINE(10)
+ LTEXT "Choose the port where you connect an alternative input
device.",-1,PROPSHEETPADDING(2),LABELLINE(2),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+
+ LTEXT "&Serial
port:",-1,PROPSHEETPADDING(2),LABELLINE(3)+5,PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_PORT_COMBO, PROPSHEETPADDING(2), LABELLINE(4)+7,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(6),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ LTEXT "&Baud
rate:",-1,PROPSHEETPADDING(2),LABELLINE(7),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_BAUD_COMBO, PROPSHEETPADDING(2), LABELLINE(8)+2,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(8),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ DEFPUSHBUTTON "OK", IDOK, PROPSHEETWIDTH-111, PROPSHEETHEIGHT-21, 50, 14
+ PUSHBUTTON "Cancel", IDCANCEL, PROPSHEETWIDTH-57, PROPSHEETHEIGHT-21, 50, 14
+END
+
+
STRINGTABLE
BEGIN
IDS_CPLSYSTEMNAME "Accessibility"
Modified: trunk/reactos/dll/cpl/access/lang/ja-JP.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/lang/ja-JP.…
==============================================================================
--- trunk/reactos/dll/cpl/access/lang/ja-JP.rc (original)
+++ trunk/reactos/dll/cpl/access/lang/ja-JP.rc Fri Sep 7 15:17:09 2007
@@ -268,6 +268,27 @@
END
+IDD_SERIALKEYSOPTIONS DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "SerialKeys Settings"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ GROUPBOX "Serial
Keys",-1,PROPSHEETPADDING(1),LABELLINE(1),PROPSHEETWIDTH-PROPSHEETPADDING(2),LABELLINE(10)
+ LTEXT "Choose the port where you connect an alternative input
device.",-1,PROPSHEETPADDING(2),LABELLINE(2),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+
+ LTEXT "&Serial
port:",-1,PROPSHEETPADDING(2),LABELLINE(3)+5,PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_PORT_COMBO, PROPSHEETPADDING(2), LABELLINE(4)+7,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(6),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ LTEXT "&Baud
rate:",-1,PROPSHEETPADDING(2),LABELLINE(7),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_BAUD_COMBO, PROPSHEETPADDING(2), LABELLINE(8)+2,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(8),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ DEFPUSHBUTTON "OK", IDOK, PROPSHEETWIDTH-111, PROPSHEETHEIGHT-21, 50, 14
+ PUSHBUTTON "Cancel", IDCANCEL, PROPSHEETWIDTH-57, PROPSHEETHEIGHT-21, 50, 14
+END
+
+
STRINGTABLE
BEGIN
IDS_CPLSYSTEMNAME "[U[â"
Modified: trunk/reactos/dll/cpl/access/lang/nl-NL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/lang/nl-NL.…
==============================================================================
--- trunk/reactos/dll/cpl/access/lang/nl-NL.rc (original)
+++ trunk/reactos/dll/cpl/access/lang/nl-NL.rc Fri Sep 7 15:17:09 2007
@@ -270,6 +270,27 @@
END
+IDD_SERIALKEYSOPTIONS DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "SerialKeys Settings"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ GROUPBOX "Serial
Keys",-1,PROPSHEETPADDING(1),LABELLINE(1),PROPSHEETWIDTH-PROPSHEETPADDING(2),LABELLINE(10)
+ LTEXT "Choose the port where you connect an alternative input
device.",-1,PROPSHEETPADDING(2),LABELLINE(2),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+
+ LTEXT "&Serial
port:",-1,PROPSHEETPADDING(2),LABELLINE(3)+5,PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_PORT_COMBO, PROPSHEETPADDING(2), LABELLINE(4)+7,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(6),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ LTEXT "&Baud
rate:",-1,PROPSHEETPADDING(2),LABELLINE(7),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_BAUD_COMBO, PROPSHEETPADDING(2), LABELLINE(8)+2,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(8),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ DEFPUSHBUTTON "OK", IDOK, PROPSHEETWIDTH-111, PROPSHEETHEIGHT-21, 50, 14
+ PUSHBUTTON "Cancel", IDCANCEL, PROPSHEETWIDTH-57, PROPSHEETHEIGHT-21, 50, 14
+END
+
+
STRINGTABLE
BEGIN
IDS_CPLSYSTEMNAME "Toegankelijkheidsopties"
Modified: trunk/reactos/dll/cpl/access/lang/pl-PL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/lang/pl-PL.…
==============================================================================
--- trunk/reactos/dll/cpl/access/lang/pl-PL.rc (original)
+++ trunk/reactos/dll/cpl/access/lang/pl-PL.rc Fri Sep 7 15:17:09 2007
@@ -271,6 +271,27 @@
END
+IDD_SERIALKEYSOPTIONS DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "SerialKeys Settings"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ GROUPBOX "Serial
Keys",-1,PROPSHEETPADDING(1),LABELLINE(1),PROPSHEETWIDTH-PROPSHEETPADDING(2),LABELLINE(10)
+ LTEXT "Choose the port where you connect an alternative input
device.",-1,PROPSHEETPADDING(2),LABELLINE(2),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+
+ LTEXT "&Serial
port:",-1,PROPSHEETPADDING(2),LABELLINE(3)+5,PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_PORT_COMBO, PROPSHEETPADDING(2), LABELLINE(4)+7,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(6),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ LTEXT "&Baud
rate:",-1,PROPSHEETPADDING(2),LABELLINE(7),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_BAUD_COMBO, PROPSHEETPADDING(2), LABELLINE(8)+2,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(8),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ DEFPUSHBUTTON "OK", IDOK, PROPSHEETWIDTH-111, PROPSHEETHEIGHT-21, 50, 14
+ PUSHBUTTON "Cancel", IDCANCEL, PROPSHEETWIDTH-57, PROPSHEETHEIGHT-21, 50, 14
+END
+
+
STRINGTABLE
BEGIN
IDS_CPLSYSTEMNAME "U³atwienia dostêpu"
Modified: trunk/reactos/dll/cpl/access/lang/ru-RU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/lang/ru-RU.…
==============================================================================
--- trunk/reactos/dll/cpl/access/lang/ru-RU.rc (original)
+++ trunk/reactos/dll/cpl/access/lang/ru-RU.rc Fri Sep 7 15:17:09 2007
@@ -268,6 +268,27 @@
END
+IDD_SERIALKEYSOPTIONS DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT
+STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "SerialKeys Settings"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ GROUPBOX "Serial
Keys",-1,PROPSHEETPADDING(1),LABELLINE(1),PROPSHEETWIDTH-PROPSHEETPADDING(2),LABELLINE(10)
+ LTEXT "Choose the port where you connect an alternative input
device.",-1,PROPSHEETPADDING(2),LABELLINE(2),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+
+ LTEXT "&Serial
port:",-1,PROPSHEETPADDING(2),LABELLINE(3)+5,PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_PORT_COMBO, PROPSHEETPADDING(2), LABELLINE(4)+7,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(6),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ LTEXT "&Baud
rate:",-1,PROPSHEETPADDING(2),LABELLINE(7),PROPSHEETWIDTH-PROPSHEETPADDING(4),LABELLINE(2)
+ COMBOBOX IDC_SERIAL_BAUD_COMBO, PROPSHEETPADDING(2), LABELLINE(8)+2,
PROPSHEETWIDTH-PROPSHEETPADDING(4), LABELLINE(8),
+ CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP
+
+ DEFPUSHBUTTON "OK", IDOK, PROPSHEETWIDTH-111, PROPSHEETHEIGHT-21, 50, 14
+ PUSHBUTTON "Cancel", IDCANCEL, PROPSHEETWIDTH-57, PROPSHEETHEIGHT-21, 50, 14
+END
+
+
STRINGTABLE
BEGIN
IDS_CPLSYSTEMNAME "Ñïåöèàëüíûå âîçìîæíîñòè"
Modified: trunk/reactos/dll/cpl/access/resource.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/access/resource.h?…
==============================================================================
--- trunk/reactos/dll/cpl/access/resource.h (original)
+++ trunk/reactos/dll/cpl/access/resource.h Fri Sep 7 15:17:09 2007
@@ -28,6 +28,8 @@
#define IDD_CONTRASTOPTIONS 110
#define IDD_MOUSEKEYSOPTIONS 111
+
+#define IDD_SERIALKEYSOPTIONS 112
#define IDS_CPLSYSTEMNAME 1001
#define IDS_CPLSYSTEMDESCRIPTION 2001
@@ -108,6 +110,9 @@
#define IDC_MOUSEKEYS_OFF_RADIO 270
#define IDC_MOUSEKEYS_STATUS_CHECK 271
+#define IDC_SERIAL_PORT_COMBO 275
+#define IDC_SERIAL_BAUD_COMBO 276
+
#endif /* __CPL_RESOURCE_H */
/* EOF */