diff --git a/reactos/dll/cpl/hdwwiz/hdwwiz.c b/reactos/dll/cpl/hdwwiz/hdwwiz.c index b480a97c1b7..19fcf878b28 100644 --- a/reactos/dll/cpl/hdwwiz/hdwwiz.c +++ b/reactos/dll/cpl/hdwwiz/hdwwiz.c @@ -124,10 +124,27 @@ IsConnctedPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) { case PSN_SETACTIVE: { - /* Disable "Next" button */ - PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_BACK); + if ((SendDlgItemMessage(hwndDlg, IDC_CONNECTED, BM_GETCHECK, 0, 0) == BST_CHECKED) || + (SendDlgItemMessage(hwndDlg, IDC_NOTCONNECTED, BM_GETCHECK, 0, 0) == BST_CHECKED)) + { + PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_NEXT | PSWIZB_BACK); + } + else + { + PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_BACK); + } } break; + + case PSN_WIZNEXT: + { + if (SendDlgItemMessage(hwndDlg, IDC_NOTCONNECTED, BM_GETCHECK, 0, 0) == BST_CHECKED) + SetWindowLong(hwndDlg, DWL_MSGRESULT, IDD_NOTCONNECTEDPAGE); + else + SetWindowLong(hwndDlg, DWL_MSGRESULT, IDD_PROBELISTPAGE); + + return TRUE; + } } } break; @@ -168,10 +185,83 @@ FinishPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) return FALSE; } +static INT_PTR CALLBACK +NotConnectedPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) +{ + switch (uMsg) + { + case WM_INITDIALOG: + { + /* Set title font */ + SendDlgItemMessage(hwndDlg, IDC_FINISHTITLE, WM_SETFONT, (WPARAM)hTitleFont, (LPARAM)TRUE); + } + break; + + case WM_NOTIFY: + { + LPNMHDR lpnm = (LPNMHDR)lParam; + + switch (lpnm->code) + { + case PSN_SETACTIVE: + { + PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_FINISH | PSWIZB_BACK); + } + break; + + case PSN_WIZBACK: + { + SetWindowLong(hwndDlg, DWL_MSGRESULT, IDD_ISCONNECTEDPAGE); + return TRUE; + } + } + } + break; + } + + return FALSE; +} + +static INT_PTR CALLBACK +ProbeListPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) +{ + switch (uMsg) + { + case WM_COMMAND: + { + + } + break; + + case WM_NOTIFY: + { + LPNMHDR lpnm = (LPNMHDR)lParam; + + switch (lpnm->code) + { + case PSN_SETACTIVE: + { + PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_BACK); + } + break; + + case PSN_WIZNEXT: + { + SetWindowLong(hwndDlg, DWL_MSGRESULT, IDD_FINISHPAGE); + return TRUE; + } + } + } + break; + } + + return FALSE; +} + static VOID HardwareWizardInit(HWND hwnd) { - HPROPSHEETPAGE ahpsp[3]; + HPROPSHEETPAGE ahpsp[5]; PROPSHEETPAGE psp = {0}; PROPSHEETHEADER psh; UINT nPages = 0; @@ -207,6 +297,17 @@ HardwareWizardInit(HWND hwnd) psp.pszTemplate = MAKEINTRESOURCE(IDD_ISCONNECTEDPAGE); ahpsp[nPages++] = CreatePropertySheetPage(&psp); + /* Create probe list page */ + psp.dwSize = sizeof(PROPSHEETPAGE); + psp.dwFlags = PSP_DEFAULT | PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE; + psp.pszHeaderTitle = MAKEINTRESOURCE(IDS_PROBELISTTITLE); + psp.pszHeaderSubTitle = NULL; + psp.hInstance = hApplet; + psp.lParam = 0; + psp.pfnDlgProc = ProbeListPageDlgProc; + psp.pszTemplate = MAKEINTRESOURCE(IDD_PROBELISTPAGE); + ahpsp[nPages++] = CreatePropertySheetPage(&psp); + /* Create finish page */ psp.dwSize = sizeof(PROPSHEETPAGE); psp.dwFlags = PSP_DEFAULT | PSP_HIDEHEADER; @@ -216,6 +317,15 @@ HardwareWizardInit(HWND hwnd) psp.pszTemplate = MAKEINTRESOURCE(IDD_FINISHPAGE); ahpsp[nPages++] = CreatePropertySheetPage(&psp); + /* Create not connected page */ + psp.dwSize = sizeof(PROPSHEETPAGE); + psp.dwFlags = PSP_DEFAULT | PSP_HIDEHEADER; + psp.hInstance = hApplet; + psp.lParam = 0; + psp.pfnDlgProc = NotConnectedPageDlgProc; + psp.pszTemplate = MAKEINTRESOURCE(IDD_NOTCONNECTEDPAGE); + ahpsp[nPages++] = CreatePropertySheetPage(&psp); + /* Create the property sheet */ psh.dwSize = sizeof(PROPSHEETHEADER); psh.dwFlags = PSH_WIZARD97 | PSH_WATERMARK | PSH_HEADER; diff --git a/reactos/dll/cpl/hdwwiz/lang/bg-BG.rc b/reactos/dll/cpl/hdwwiz/lang/bg-BG.rc index c774c098e09..8521671d007 100644 --- a/reactos/dll/cpl/hdwwiz/lang/bg-BG.rc +++ b/reactos/dll/cpl/hdwwiz/lang/bg-BG.rc @@ -121,6 +121,18 @@ BEGIN LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8 END +IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Add Hardware Wizard" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28 + LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16 + AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE + LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32 + LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8 +END + STRINGTABLE BEGIN IDS_CPLNAME "Добавяне на оборудване" @@ -128,4 +140,5 @@ BEGIN IDS_SEARCHTITLE "Please wait while the wizard searches..." IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed." IDS_ISCONNECTED "Is the hardware connected?" + IDS_PROBELISTTITLE "The following hardware is already installed on your computer" END diff --git a/reactos/dll/cpl/hdwwiz/lang/cs-CZ.rc b/reactos/dll/cpl/hdwwiz/lang/cs-CZ.rc index 6c3bdacb3f9..ef27288d611 100644 --- a/reactos/dll/cpl/hdwwiz/lang/cs-CZ.rc +++ b/reactos/dll/cpl/hdwwiz/lang/cs-CZ.rc @@ -121,6 +121,18 @@ BEGIN LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8 END +IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Add Hardware Wizard" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28 + LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16 + AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE + LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32 + LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8 +END + STRINGTABLE BEGIN IDS_CPLNAME "Pшidat hardware" @@ -128,4 +140,5 @@ BEGIN IDS_SEARCHTITLE "Please wait while the wizard searches..." IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed." IDS_ISCONNECTED "Is the hardware connected?" + IDS_PROBELISTTITLE "The following hardware is already installed on your computer" END diff --git a/reactos/dll/cpl/hdwwiz/lang/de-DE.rc b/reactos/dll/cpl/hdwwiz/lang/de-DE.rc index 7c638fb08f1..24e24146b92 100644 --- a/reactos/dll/cpl/hdwwiz/lang/de-DE.rc +++ b/reactos/dll/cpl/hdwwiz/lang/de-DE.rc @@ -121,6 +121,18 @@ BEGIN LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8 END +IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Add Hardware Wizard" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28 + LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16 + AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE + LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32 + LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8 +END + STRINGTABLE BEGIN IDS_CPLNAME "Hardware" @@ -128,4 +140,5 @@ BEGIN IDS_SEARCHTITLE "Please wait while the wizard searches..." IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed." IDS_ISCONNECTED "Is the hardware connected?" + IDS_PROBELISTTITLE "The following hardware is already installed on your computer" END diff --git a/reactos/dll/cpl/hdwwiz/lang/el-GR.rc b/reactos/dll/cpl/hdwwiz/lang/el-GR.rc index 0450deb1cfa..91ec83f4297 100644 --- a/reactos/dll/cpl/hdwwiz/lang/el-GR.rc +++ b/reactos/dll/cpl/hdwwiz/lang/el-GR.rc @@ -121,6 +121,18 @@ BEGIN LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8 END +IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Add Hardware Wizard" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28 + LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16 + AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE + LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32 + LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8 +END + STRINGTABLE BEGIN IDS_CPLNAME "Рсьуиеуз ухукехюн" @@ -128,4 +140,5 @@ BEGIN IDS_SEARCHTITLE "Please wait while the wizard searches..." IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed." IDS_ISCONNECTED "Is the hardware connected?" + IDS_PROBELISTTITLE "The following hardware is already installed on your computer" END diff --git a/reactos/dll/cpl/hdwwiz/lang/en-US.rc b/reactos/dll/cpl/hdwwiz/lang/en-US.rc index 76ee1c463a1..3b9ac210188 100644 --- a/reactos/dll/cpl/hdwwiz/lang/en-US.rc +++ b/reactos/dll/cpl/hdwwiz/lang/en-US.rc @@ -121,6 +121,18 @@ BEGIN LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8 END +IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Add Hardware Wizard" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28 + LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16 + AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE + LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32 + LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8 +END + STRINGTABLE BEGIN IDS_CPLNAME "Add hardware" @@ -128,4 +140,5 @@ BEGIN IDS_SEARCHTITLE "Please wait while the wizard searches..." IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed." IDS_ISCONNECTED "Is the hardware connected?" + IDS_PROBELISTTITLE "The following hardware is already installed on your computer" END diff --git a/reactos/dll/cpl/hdwwiz/lang/es-ES.rc b/reactos/dll/cpl/hdwwiz/lang/es-ES.rc index 1df190802d9..2d17e9ed719 100644 --- a/reactos/dll/cpl/hdwwiz/lang/es-ES.rc +++ b/reactos/dll/cpl/hdwwiz/lang/es-ES.rc @@ -121,6 +121,18 @@ BEGIN LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8 END +IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Add Hardware Wizard" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28 + LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16 + AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE + LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32 + LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8 +END + STRINGTABLE BEGIN IDS_CPLNAME "Aсade Nuevo Hardware" @@ -128,4 +140,5 @@ BEGIN IDS_SEARCHTITLE "Please wait while the wizard searches..." IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed." IDS_ISCONNECTED "Is the hardware connected?" + IDS_PROBELISTTITLE "The following hardware is already installed on your computer" END diff --git a/reactos/dll/cpl/hdwwiz/lang/fr-FR.rc b/reactos/dll/cpl/hdwwiz/lang/fr-FR.rc index 4136d9f26b6..a101a8cb1a7 100644 --- a/reactos/dll/cpl/hdwwiz/lang/fr-FR.rc +++ b/reactos/dll/cpl/hdwwiz/lang/fr-FR.rc @@ -121,6 +121,18 @@ BEGIN LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8 END +IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Add Hardware Wizard" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28 + LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16 + AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE + LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32 + LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8 +END + STRINGTABLE BEGIN IDS_CPLNAME "Ajout de matйriel" @@ -128,4 +140,5 @@ BEGIN IDS_SEARCHTITLE "Please wait while the wizard searches..." IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed." IDS_ISCONNECTED "Is the hardware connected?" + IDS_PROBELISTTITLE "The following hardware is already installed on your computer" END diff --git a/reactos/dll/cpl/hdwwiz/lang/hu-HU.rc b/reactos/dll/cpl/hdwwiz/lang/hu-HU.rc index ae6cdc79897..4ffa70199a8 100644 --- a/reactos/dll/cpl/hdwwiz/lang/hu-HU.rc +++ b/reactos/dll/cpl/hdwwiz/lang/hu-HU.rc @@ -122,6 +122,18 @@ BEGIN LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8 END +IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Add Hardware Wizard" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28 + LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16 + AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE + LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32 + LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8 +END + STRINGTABLE BEGIN IDS_CPLNAME "Hardver hozzбadбsa" @@ -129,4 +141,5 @@ BEGIN IDS_SEARCHTITLE "Please wait while the wizard searches..." IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed." IDS_ISCONNECTED "Is the hardware connected?" + IDS_PROBELISTTITLE "The following hardware is already installed on your computer" END diff --git a/reactos/dll/cpl/hdwwiz/lang/id-ID.rc b/reactos/dll/cpl/hdwwiz/lang/id-ID.rc index e9e5e156b4e..6d1c1f25a88 100644 --- a/reactos/dll/cpl/hdwwiz/lang/id-ID.rc +++ b/reactos/dll/cpl/hdwwiz/lang/id-ID.rc @@ -121,6 +121,18 @@ BEGIN LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8 END +IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Add Hardware Wizard" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28 + LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16 + AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE + LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32 + LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8 +END + STRINGTABLE BEGIN IDS_CPLNAME "Tambah hardware" @@ -128,4 +140,5 @@ BEGIN IDS_SEARCHTITLE "Please wait while the wizard searches..." IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed." IDS_ISCONNECTED "Is the hardware connected?" + IDS_PROBELISTTITLE "The following hardware is already installed on your computer" END diff --git a/reactos/dll/cpl/hdwwiz/lang/it-IT.rc b/reactos/dll/cpl/hdwwiz/lang/it-IT.rc index b6c087e350a..867939b25a6 100644 --- a/reactos/dll/cpl/hdwwiz/lang/it-IT.rc +++ b/reactos/dll/cpl/hdwwiz/lang/it-IT.rc @@ -121,6 +121,18 @@ BEGIN LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8 END +IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Add Hardware Wizard" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28 + LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16 + AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE + LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32 + LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8 +END + STRINGTABLE BEGIN IDS_CPLNAME "Aggiungi hardware" @@ -128,4 +140,5 @@ BEGIN IDS_SEARCHTITLE "Please wait while the wizard searches..." IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed." IDS_ISCONNECTED "Is the hardware connected?" + IDS_PROBELISTTITLE "The following hardware is already installed on your computer" END diff --git a/reactos/dll/cpl/hdwwiz/lang/ja-JP.rc b/reactos/dll/cpl/hdwwiz/lang/ja-JP.rc index 04545621250..8d591782cbe 100644 --- a/reactos/dll/cpl/hdwwiz/lang/ja-JP.rc +++ b/reactos/dll/cpl/hdwwiz/lang/ja-JP.rc @@ -121,6 +121,18 @@ BEGIN LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8 END +IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Add Hardware Wizard" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28 + LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16 + AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE + LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32 + LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8 +END + STRINGTABLE BEGIN IDS_CPLNAME "ѓnЃ[ѓhѓEѓFѓA‚М’З‰Б" @@ -128,4 +140,5 @@ BEGIN IDS_SEARCHTITLE "Please wait while the wizard searches..." IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed." IDS_ISCONNECTED "Is the hardware connected?" + IDS_PROBELISTTITLE "The following hardware is already installed on your computer" END diff --git a/reactos/dll/cpl/hdwwiz/lang/nl-NL.rc b/reactos/dll/cpl/hdwwiz/lang/nl-NL.rc index 2277815e80d..afc6d6293d8 100644 --- a/reactos/dll/cpl/hdwwiz/lang/nl-NL.rc +++ b/reactos/dll/cpl/hdwwiz/lang/nl-NL.rc @@ -121,6 +121,18 @@ BEGIN LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8 END +IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Add Hardware Wizard" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28 + LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16 + AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE + LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32 + LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8 +END + STRINGTABLE BEGIN IDS_CPLNAME "Hardware toevoegen" @@ -128,4 +140,5 @@ BEGIN IDS_SEARCHTITLE "Please wait while the wizard searches..." IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed." IDS_ISCONNECTED "Is the hardware connected?" + IDS_PROBELISTTITLE "The following hardware is already installed on your computer" END diff --git a/reactos/dll/cpl/hdwwiz/lang/no-NO.rc b/reactos/dll/cpl/hdwwiz/lang/no-NO.rc index 97533634442..cf20b2311a6 100644 --- a/reactos/dll/cpl/hdwwiz/lang/no-NO.rc +++ b/reactos/dll/cpl/hdwwiz/lang/no-NO.rc @@ -121,6 +121,18 @@ BEGIN LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8 END +IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Add Hardware Wizard" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28 + LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16 + AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE + LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32 + LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8 +END + STRINGTABLE BEGIN IDS_CPLNAME "Legg til maskinvare" @@ -128,4 +140,5 @@ BEGIN IDS_SEARCHTITLE "Please wait while the wizard searches..." IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed." IDS_ISCONNECTED "Is the hardware connected?" + IDS_PROBELISTTITLE "The following hardware is already installed on your computer" END diff --git a/reactos/dll/cpl/hdwwiz/lang/pl-PL.rc b/reactos/dll/cpl/hdwwiz/lang/pl-PL.rc index bf36acfbbdd..58951089b3c 100644 --- a/reactos/dll/cpl/hdwwiz/lang/pl-PL.rc +++ b/reactos/dll/cpl/hdwwiz/lang/pl-PL.rc @@ -126,6 +126,18 @@ BEGIN LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8 END +IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Add Hardware Wizard" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28 + LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16 + AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE + LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32 + LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8 +END + STRINGTABLE BEGIN IDS_CPLNAME "Dodaj sprzкt" @@ -133,4 +145,5 @@ BEGIN IDS_SEARCHTITLE "Please wait while the wizard searches..." IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed." IDS_ISCONNECTED "Is the hardware connected?" + IDS_PROBELISTTITLE "The following hardware is already installed on your computer" END diff --git a/reactos/dll/cpl/hdwwiz/lang/pt-BR.rc b/reactos/dll/cpl/hdwwiz/lang/pt-BR.rc index ec8677d45ec..2e59aed331f 100644 --- a/reactos/dll/cpl/hdwwiz/lang/pt-BR.rc +++ b/reactos/dll/cpl/hdwwiz/lang/pt-BR.rc @@ -121,6 +121,18 @@ BEGIN LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8 END +IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Add Hardware Wizard" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28 + LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16 + AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE + LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32 + LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8 +END + STRINGTABLE BEGIN IDS_CPLNAME "Adicionar hardware" @@ -128,4 +140,5 @@ BEGIN IDS_SEARCHTITLE "Please wait while the wizard searches..." IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed." IDS_ISCONNECTED "Is the hardware connected?" + IDS_PROBELISTTITLE "The following hardware is already installed on your computer" END diff --git a/reactos/dll/cpl/hdwwiz/lang/ru-RU.rc b/reactos/dll/cpl/hdwwiz/lang/ru-RU.rc index f81d431114b..1b1fcf5ea45 100644 --- a/reactos/dll/cpl/hdwwiz/lang/ru-RU.rc +++ b/reactos/dll/cpl/hdwwiz/lang/ru-RU.rc @@ -121,6 +121,18 @@ BEGIN LTEXT "Для прекращения работы мастера нажмите кнопку ""Отмена"".", IDC_STATUSTEXT, 114, 158, 192, 19 END +IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Мастер установки оборудования" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Мастер установки оборудования", IDC_FINISHTITLE, 114, 8, 203, 28 + LTEXT "Чтобы продолжить, подключите это устройство к компьютеру.", -1, 114, 40, 193, 16 + AUTOCHECKBOX "&Отключить компьютер после нажатия кнопки ""Готово"", чтобы можно было открыть корпус и подключить устройство.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 30, BS_TOP | BS_MULTILINE + LTEXT "В большинстве случаев ReactOS автоматически установит новое оборудование после его подключения. Если ReactOS не обнаружит его, надо будет вновь запустить этот мастер для установки программной поддержки.", -1, 114, 98, 193, 44 + LTEXT "Для закрытия мастера нажмите кнопку ""Готово"".", IDC_STATUSTEXT, 114, 166, 193, 8 +END + STRINGTABLE BEGIN IDS_CPLNAME "Установка оборудования" @@ -128,6 +140,5 @@ BEGIN IDS_SEARCHTITLE "Подождите, выполняется поиск..." IDS_SEARCHTEXT "Этот мастер выполняет поиск оборудования, которое недавно было подключено к компьютеру, но еще не было установлено." IDS_ISCONNECTED "Подключено ли устройство?" + IDS_PROBELISTTITLE "На этом компьютере уже установлено следующее оборудование" END - - diff --git a/reactos/dll/cpl/hdwwiz/lang/sk-SK.rc b/reactos/dll/cpl/hdwwiz/lang/sk-SK.rc index aa016964109..5a0b0ebcca3 100644 --- a/reactos/dll/cpl/hdwwiz/lang/sk-SK.rc +++ b/reactos/dll/cpl/hdwwiz/lang/sk-SK.rc @@ -125,6 +125,18 @@ BEGIN LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8 END +IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Add Hardware Wizard" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28 + LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16 + AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE + LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32 + LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8 +END + STRINGTABLE BEGIN IDS_CPLNAME "Pridaќ hardvйr" @@ -132,4 +144,5 @@ BEGIN IDS_SEARCHTITLE "Please wait while the wizard searches..." IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed." IDS_ISCONNECTED "Is the hardware connected?" + IDS_PROBELISTTITLE "The following hardware is already installed on your computer" END diff --git a/reactos/dll/cpl/hdwwiz/lang/th-TH.rc b/reactos/dll/cpl/hdwwiz/lang/th-TH.rc index 5380ccf1f88..d2127d0822f 100644 --- a/reactos/dll/cpl/hdwwiz/lang/th-TH.rc +++ b/reactos/dll/cpl/hdwwiz/lang/th-TH.rc @@ -121,6 +121,18 @@ BEGIN LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8 END +IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Add Hardware Wizard" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28 + LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16 + AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE + LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32 + LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8 +END + STRINGTABLE BEGIN IDS_CPLNAME "аѕФиБЎТГµФґµСй§НШ»ЎГім" @@ -128,4 +140,5 @@ BEGIN IDS_SEARCHTITLE "Please wait while the wizard searches..." IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed." IDS_ISCONNECTED "Is the hardware connected?" + IDS_PROBELISTTITLE "The following hardware is already installed on your computer" END diff --git a/reactos/dll/cpl/hdwwiz/lang/uk-UA.rc b/reactos/dll/cpl/hdwwiz/lang/uk-UA.rc index 85550749774..251a4e6e371 100644 --- a/reactos/dll/cpl/hdwwiz/lang/uk-UA.rc +++ b/reactos/dll/cpl/hdwwiz/lang/uk-UA.rc @@ -129,6 +129,18 @@ BEGIN LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8 END +IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Add Hardware Wizard" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28 + LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16 + AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE + LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32 + LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8 +END + STRINGTABLE BEGIN IDS_CPLNAME "Додати устаткування" @@ -136,4 +148,5 @@ BEGIN IDS_SEARCHTITLE "Please wait while the wizard searches..." IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed." IDS_ISCONNECTED "Is the hardware connected?" + IDS_PROBELISTTITLE "The following hardware is already installed on your computer" END diff --git a/reactos/dll/cpl/hdwwiz/lang/zh-CN.rc b/reactos/dll/cpl/hdwwiz/lang/zh-CN.rc index fa7354dca32..735f54b1395 100644 --- a/reactos/dll/cpl/hdwwiz/lang/zh-CN.rc +++ b/reactos/dll/cpl/hdwwiz/lang/zh-CN.rc @@ -127,6 +127,18 @@ BEGIN LTEXT "To exit this wizard, click Cancel.", IDC_STATUSTEXT, 114, 166, 132, 8 END +IDD_NOTCONNECTEDPAGE DIALOG DISCARDABLE 0, 0, 317, 186 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Add Hardware Wizard" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Cannot Continue the Add Hardware Wizard", IDC_FINISHTITLE, 114, 8, 203, 28 + LTEXT "To continue, connect this hardware to your computer.", -1, 114, 40, 193, 16 + AUTOCHECKBOX "&Turn off the computer when I click Finish so that I can open the computer and connect the hardware.", IDC_TURNOFFCHECKBOX, 114, 64, 203, 20, BS_TOP | BS_MULTILINE + LTEXT "In most cases ReactOS will automatically install your hardware after you connect it. If ReactOS does not find it, you can reopen this wizard to install the supporting software.", -1, 114, 98, 193, 32 + LTEXT "To close this wizard, click Finish.", IDC_STATUSTEXT, 114, 166, 193, 8 +END + STRINGTABLE BEGIN IDS_CPLNAME "МнјУУІјю" @@ -134,4 +146,5 @@ BEGIN IDS_SEARCHTITLE "Please wait while the wizard searches..." IDS_SEARCHTEXT "This wizard is searching for hardware that has been connected to your computer recently but has not yet been installed." IDS_ISCONNECTED "Is the hardware connected?" + IDS_PROBELISTTITLE "The following hardware is already installed on your computer" END diff --git a/reactos/dll/cpl/hdwwiz/resource.h b/reactos/dll/cpl/hdwwiz/resource.h index 68d8b8fec8a..a333c804f86 100644 --- a/reactos/dll/cpl/hdwwiz/resource.h +++ b/reactos/dll/cpl/hdwwiz/resource.h @@ -13,6 +13,7 @@ /* Strings */ #define IDS_CPLNAME 1000 #define IDS_CPLDESCRIPTION 1001 +#define IDS_PROBELISTTITLE 1005 #define IDS_SEARCHTEXT 1020 #define IDS_SEARCHTITLE 1025 #define IDS_ISCONNECTED 1113 @@ -22,6 +23,7 @@ #define IDD_SEARCHPAGE 204 #define IDD_ISFOUNDPAGE 205 #define IDD_ISCONNECTEDPAGE 206 +#define IDD_NOTCONNECTEDPAGE 207 #define IDD_PROBELISTPAGE 208 #define IDD_HWSTATUSPAGE 209 #define IDD_SELECTWAYPAGE 210 @@ -50,6 +52,7 @@ #define IDC_WARNINGICON 502 #define IDC_CONNECTED 504 #define IDC_NOTCONNECTED 505 +#define IDC_TURNOFFCHECKBOX 506 #endif /* __CPL_RESOURCE_H */