From 8146f334271d77d704f25ca1d45bc28cdbf2a78d Mon Sep 17 00:00:00 2001 From: Johannes Anderwald Date: Tue, 2 Oct 2007 23:34:00 +0000 Subject: [PATCH] - start implementing create shortcut wizard svn path=/trunk/; revision=29364 --- reactos/dll/cpl/appwiz/appwiz.c | 96 +++++++++++++++++- reactos/dll/cpl/appwiz/appwiz.def | 1 + reactos/dll/cpl/appwiz/appwiz.rc | 1 + reactos/dll/cpl/appwiz/lang/bg-BG.rc | 22 ++++ reactos/dll/cpl/appwiz/lang/cs-CZ.rc | 22 ++++ reactos/dll/cpl/appwiz/lang/da-DK.rc | 22 ++++ reactos/dll/cpl/appwiz/lang/de-DE.rc | 22 ++++ reactos/dll/cpl/appwiz/lang/el-GR.rc | 22 ++++ reactos/dll/cpl/appwiz/lang/en-US.rc | 25 +++++ reactos/dll/cpl/appwiz/lang/es-ES.rc | 22 ++++ reactos/dll/cpl/appwiz/lang/fr-FR.rc | 22 ++++ reactos/dll/cpl/appwiz/lang/hu-HU.rc | 22 ++++ reactos/dll/cpl/appwiz/lang/id-ID.rc | 22 ++++ reactos/dll/cpl/appwiz/lang/it-IT.rc | 22 ++++ reactos/dll/cpl/appwiz/lang/ja-JP.rc | 22 ++++ reactos/dll/cpl/appwiz/lang/nl-NL.rc | 22 ++++ reactos/dll/cpl/appwiz/lang/pl-PL.rc | 22 ++++ reactos/dll/cpl/appwiz/lang/ru-RU.rc | 22 ++++ reactos/dll/cpl/appwiz/lang/th-TH.rc | 22 ++++ reactos/dll/cpl/appwiz/lang/uk-UA.rc | 22 ++++ reactos/dll/cpl/appwiz/resource.h | 19 ++-- .../dll/cpl/appwiz/resources/watermark.bmp | Bin 0 -> 4248 bytes 22 files changed, 487 insertions(+), 7 deletions(-) create mode 100644 reactos/dll/cpl/appwiz/resources/watermark.bmp diff --git a/reactos/dll/cpl/appwiz/appwiz.c b/reactos/dll/cpl/appwiz/appwiz.c index 11b397eeb2a..bcc9e0c276c 100644 --- a/reactos/dll/cpl/appwiz/appwiz.c +++ b/reactos/dll/cpl/appwiz/appwiz.c @@ -29,7 +29,7 @@ #include #include #include - +#include #include #include #include @@ -347,3 +347,97 @@ DllMain(HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpvReserved) return TRUE; } + +INT_PTR +CALLBACK +WelcomeDlgProc(HWND hwndDlg, + UINT uMsg, + WPARAM wParam, + LPARAM lParam) +{ + switch(uMsg) + { + case WM_INITDIALOG: + PropSheet_SetWizButtons(GetParent(hwndDlg), 0); + break; + case WM_COMMAND: + switch(HIWORD(wParam)) + { + case EN_CHANGE: + if (SendDlgItemMessage(hwndDlg, IDC_SHORTCUT_LOCATION, WM_GETTEXTLENGTH, 0, 0)) + { + PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_NEXT); + } + else + { + PropSheet_SetWizButtons(GetParent(hwndDlg), 0); + } + } + + } + return FALSE; +} + +INT_PTR +CALLBACK +FinishDlgProc(HWND hwndDlg, + UINT uMsg, + WPARAM wParam, + LPARAM lParam) +{ + switch(uMsg) + { + case WM_INITDIALOG: + PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_BACK | PSWIZB_FINISH); + break; + } + return FALSE; +} + + +LONG CALLBACK +NewLinkHere(HWND hwndCPl, UINT uMsg, LPARAM lParam1, LPARAM lParam2) +{ + PROPSHEETHEADERW psh; + HPROPSHEETPAGE ahpsp[2]; + PROPSHEETPAGE psp; + UINT nPages = 0; + + /* Create the Welcome page */ + psp.dwSize = sizeof(PROPSHEETPAGE); + psp.dwFlags = PSP_DEFAULT | PSP_HIDEHEADER; + psp.hInstance = hApplet; + psp.pfnDlgProc = WelcomeDlgProc; + psp.pszTemplate = MAKEINTRESOURCE(IDD_SHORTCUT_LOCATION); + ahpsp[nPages++] = CreatePropertySheetPage(&psp); + + /* Create the Finish page */ + psp.dwFlags = PSP_DEFAULT | PSP_HIDEHEADER; + psp.pfnDlgProc = FinishDlgProc; + psp.pszTemplate = MAKEINTRESOURCE(IDD_SHORTCUT_FINISH); + ahpsp[nPages++] = CreatePropertySheetPage(&psp); + + + /* Create the property sheet */ + psh.dwSize = sizeof(PROPSHEETHEADER); + psh.dwFlags = PSH_WIZARD97 | PSH_WATERMARK; + psh.hInstance = hApplet; + psh.hwndParent = NULL; + psh.nPages = nPages; + psh.nStartPage = 0; + psh.phpage = ahpsp; + psh.pszbmWatermark = MAKEINTRESOURCE(IDB_WATERMARK); + + /* Display the wizard */ + PropertySheet(&psh); + + return TRUE; + + + + + + + + return FALSE; +} diff --git a/reactos/dll/cpl/appwiz/appwiz.def b/reactos/dll/cpl/appwiz/appwiz.def index 0f56c708737..681a8d34357 100644 --- a/reactos/dll/cpl/appwiz/appwiz.def +++ b/reactos/dll/cpl/appwiz/appwiz.def @@ -2,5 +2,6 @@ LIBRARY appwiz.cpl EXPORTS CPlApplet +NewLinkHere ; EOF diff --git a/reactos/dll/cpl/appwiz/appwiz.rc b/reactos/dll/cpl/appwiz/appwiz.rc index e85f375d1d1..15b02fa9857 100644 --- a/reactos/dll/cpl/appwiz/appwiz.rc +++ b/reactos/dll/cpl/appwiz/appwiz.rc @@ -16,5 +16,6 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL 123 24 DISCARDABLE "manifest.xml" IDI_CPLSYSTEM ICON "resources/applet.ico" +IDB_WATERMARK BITMAP "resources/watermark.bmp" #include "rsrc.rc" diff --git a/reactos/dll/cpl/appwiz/lang/bg-BG.rc b/reactos/dll/cpl/appwiz/lang/bg-BG.rc index b103f742ebb..b4966cbdfb5 100644 --- a/reactos/dll/cpl/appwiz/lang/bg-BG.rc +++ b/reactos/dll/cpl/appwiz/lang/bg-BG.rc @@ -44,6 +44,28 @@ BEGIN LTEXT "Text3",-1,10,55,120,20 END +IDD_SHORTCUT_LOCATION DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Create Shortcut" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "This wizard helps you to create shortcuts to local or\nnetwork programs, files, folders, computers, or Internet\naddresses.", -1, 120, 15, 200, 30 + LTEXT "Type the location of the item:", -1, 120, 50, 120, 10 + EDITTEXT IDC_SHORTCUT_LOCATION, 120, 65, 150, 15, ES_LEFT + PUSHBUTTON "Browse...", IDC_SHORTCUT_BROWSE, 280, 60, 70, 15, ES_LEFT + LTEXT "Click Next to continue.", -1, 120, 100, 90, 10 +END + +IDD_SHORTCUT_FINISH DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Select a Title for the Program" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "&Type a name for this shortcut:", -1, 120, 15, 150, 10 + EDITTEXT IDC_SHORTCUT_NAME, 120, 35, 150, 15, ES_LEFT + LTEXT "Click Finish to create the shortcut.", -1, 120, 50, 150, 10 +END + STRINGTABLE BEGIN IDS_CPLSYSTEMNAME "/ " diff --git a/reactos/dll/cpl/appwiz/lang/cs-CZ.rc b/reactos/dll/cpl/appwiz/lang/cs-CZ.rc index f26a61e392b..2156bbbb81f 100644 --- a/reactos/dll/cpl/appwiz/lang/cs-CZ.rc +++ b/reactos/dll/cpl/appwiz/lang/cs-CZ.rc @@ -44,6 +44,28 @@ BEGIN LTEXT "Text3",-1,10,55,120,20 END +IDD_SHORTCUT_LOCATION DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Create Shortcut" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "This wizard helps you to create shortcuts to local or\nnetwork programs, files, folders, computers, or Internet\naddresses.", -1, 120, 15, 200, 30 + LTEXT "Type the location of the item:", -1, 120, 50, 120, 10 + EDITTEXT IDC_SHORTCUT_LOCATION, 120, 65, 150, 15, ES_LEFT + PUSHBUTTON "Browse...", IDC_SHORTCUT_BROWSE, 280, 60, 70, 15, ES_LEFT + LTEXT "Click Next to continue.", -1, 120, 100, 90, 10 +END + +IDD_SHORTCUT_FINISH DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Select a Title for the Program" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "&Type a name for this shortcut:", -1, 120, 15, 150, 10 + EDITTEXT IDC_SHORTCUT_NAME, 120, 35, 150, 15, ES_LEFT + LTEXT "Click Finish to create the shortcut.", -1, 120, 50, 150, 10 +END + STRINGTABLE BEGIN IDS_CPLSYSTEMNAME "Pidat/Odebrat aplikace" diff --git a/reactos/dll/cpl/appwiz/lang/da-DK.rc b/reactos/dll/cpl/appwiz/lang/da-DK.rc index ac3e9f6e11f..ae62e02cf2b 100644 --- a/reactos/dll/cpl/appwiz/lang/da-DK.rc +++ b/reactos/dll/cpl/appwiz/lang/da-DK.rc @@ -44,6 +44,28 @@ BEGIN LTEXT "Tekst 3",-1,10,55,120,20 END +IDD_SHORTCUT_LOCATION DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Create Shortcut" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "This wizard helps you to create shortcuts to local or\nnetwork programs, files, folders, computers, or Internet\naddresses.", -1, 120, 15, 200, 30 + LTEXT "Type the location of the item:", -1, 120, 50, 120, 10 + EDITTEXT IDC_SHORTCUT_LOCATION, 120, 65, 150, 15, ES_LEFT + PUSHBUTTON "Browse...", IDC_SHORTCUT_BROWSE, 280, 60, 70, 15, ES_LEFT + LTEXT "Click Next to continue.", -1, 120, 100, 90, 10 +END + +IDD_SHORTCUT_FINISH DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Select a Title for the Program" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "&Type a name for this shortcut:", -1, 120, 15, 150, 10 + EDITTEXT IDC_SHORTCUT_NAME, 120, 35, 150, 15, ES_LEFT + LTEXT "Click Finish to create the shortcut.", -1, 120, 50, 150, 10 +END + STRINGTABLE BEGIN IDS_CPLSYSTEMNAME "Tilfjer/Fjerner Programmer" diff --git a/reactos/dll/cpl/appwiz/lang/de-DE.rc b/reactos/dll/cpl/appwiz/lang/de-DE.rc index 57efe33ca86..b6b973f56cd 100644 --- a/reactos/dll/cpl/appwiz/lang/de-DE.rc +++ b/reactos/dll/cpl/appwiz/lang/de-DE.rc @@ -44,6 +44,28 @@ BEGIN LTEXT "Text3",-1,10,55,120,20 END +IDD_SHORTCUT_LOCATION DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Create Shortcut" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "Mit diesem Assistenten knnen Sie Verknpfungen mit\nlokalen oder vernetzten Programmen, Dateien, Ordnern,\nComputern oder Internetaddressen erstellen.", -1, 120, 15, 200, 30 + LTEXT "&Geben Sie den Speicherort des Elements ein:", -1, 120, 50, 120, 10 + EDITTEXT IDC_SHORTCUT_LOCATION, 120, 65, 150, 15, ES_LEFT + PUSHBUTTON "&Durchsuchen...", IDC_SHORTCUT_BROWSE, 280, 60, 70, 15, ES_LEFT + LTEXT "Klicken Sie auf ""Weiter"", um den Installationsvorgang\nfortzusetzen.", -1, 120, 100, 180, 20 +END + +IDD_SHORTCUT_FINISH DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Select a Title for the Program" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "&Geben Sie den Namen fr die Verknpfung ein:", -1, 120, 15, 150, 10 + EDITTEXT IDC_SHORTCUT_NAME, 120, 35, 150, 15, ES_LEFT + LTEXT "Klicken Sie auf ""Fertig stellen"", um die Verknpfung zu erstellen.", -1, 120, 50, 150, 20 +END + STRINGTABLE BEGIN IDS_CPLSYSTEMNAME "Programme hinzufgen/entfernen" diff --git a/reactos/dll/cpl/appwiz/lang/el-GR.rc b/reactos/dll/cpl/appwiz/lang/el-GR.rc index 73e6ab7dbb3..13fb88b049e 100644 --- a/reactos/dll/cpl/appwiz/lang/el-GR.rc +++ b/reactos/dll/cpl/appwiz/lang/el-GR.rc @@ -44,6 +44,28 @@ BEGIN LTEXT "Text3",-1,10,55,120,20 END +IDD_SHORTCUT_LOCATION DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Create Shortcut" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "This wizard helps you to create shortcuts to local or\nnetwork programs, files, folders, computers, or Internet\naddresses.", -1, 120, 15, 200, 30 + LTEXT "Type the location of the item:", -1, 120, 50, 120, 10 + EDITTEXT IDC_SHORTCUT_LOCATION, 120, 65, 150, 15, ES_LEFT + PUSHBUTTON "Browse...", IDC_SHORTCUT_BROWSE, 280, 60, 70, 15, ES_LEFT + LTEXT "Click Next to continue.", -1, 120, 100, 90, 10 +END + +IDD_SHORTCUT_FINISH DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Select a Title for the Program" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "&Type a name for this shortcut:", -1, 120, 15, 150, 10 + EDITTEXT IDC_SHORTCUT_NAME, 120, 35, 150, 15, ES_LEFT + LTEXT "Click Finish to create the shortcut.", -1, 120, 50, 150, 10 +END + STRINGTABLE BEGIN IDS_CPLSYSTEMNAME " " diff --git a/reactos/dll/cpl/appwiz/lang/en-US.rc b/reactos/dll/cpl/appwiz/lang/en-US.rc index f178d4e65ca..6b4749ffe21 100644 --- a/reactos/dll/cpl/appwiz/lang/en-US.rc +++ b/reactos/dll/cpl/appwiz/lang/en-US.rc @@ -44,6 +44,31 @@ BEGIN LTEXT "Text3",-1,10,55,120,20 END +IDD_SHORTCUT_LOCATION DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Create Shortcut" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "This wizard helps you to create shortcuts to local or\nnetwork programs, files, folders, computers, or Internet\naddresses.", -1, 120, 15, 200, 30 + LTEXT "Type the location of the item:", -1, 120, 50, 120, 10 + EDITTEXT IDC_SHORTCUT_LOCATION, 120, 65, 150, 15, ES_LEFT + PUSHBUTTON "Browse...", IDC_SHORTCUT_BROWSE, 280, 60, 70, 15, ES_LEFT + LTEXT "Click Next to continue.", -1, 120, 100, 90, 10 +END + +IDD_SHORTCUT_FINISH DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Select a Title for the Program" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "&Type a name for this shortcut:", -1, 120, 15, 150, 10 + EDITTEXT IDC_SHORTCUT_NAME, 120, 35, 150, 15, ES_LEFT + LTEXT "Click Finish to create the shortcut.", -1, 120, 50, 150, 10 +END + + + + STRINGTABLE BEGIN IDS_CPLSYSTEMNAME "Add/Remove Programs" diff --git a/reactos/dll/cpl/appwiz/lang/es-ES.rc b/reactos/dll/cpl/appwiz/lang/es-ES.rc index f084c3253f3..d6fc3239b2e 100644 --- a/reactos/dll/cpl/appwiz/lang/es-ES.rc +++ b/reactos/dll/cpl/appwiz/lang/es-ES.rc @@ -50,6 +50,28 @@ BEGIN LTEXT "Text3",-1,10,55,120,20 END +IDD_SHORTCUT_LOCATION DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Create Shortcut" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "This wizard helps you to create shortcuts to local or\nnetwork programs, files, folders, computers, or Internet\naddresses.", -1, 120, 15, 200, 30 + LTEXT "Type the location of the item:", -1, 120, 50, 120, 10 + EDITTEXT IDC_SHORTCUT_LOCATION, 120, 65, 150, 15, ES_LEFT + PUSHBUTTON "Browse...", IDC_SHORTCUT_BROWSE, 280, 60, 70, 15, ES_LEFT + LTEXT "Click Next to continue.", -1, 120, 100, 90, 10 +END + +IDD_SHORTCUT_FINISH DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Select a Title for the Program" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "&Type a name for this shortcut:", -1, 120, 15, 150, 10 + EDITTEXT IDC_SHORTCUT_NAME, 120, 35, 150, 15, ES_LEFT + LTEXT "Click Finish to create the shortcut.", -1, 120, 50, 150, 10 +END + STRINGTABLE BEGIN IDS_CPLSYSTEMNAME "Aadir/Remover Programas" diff --git a/reactos/dll/cpl/appwiz/lang/fr-FR.rc b/reactos/dll/cpl/appwiz/lang/fr-FR.rc index e8d6d2b8993..ae2088082df 100644 --- a/reactos/dll/cpl/appwiz/lang/fr-FR.rc +++ b/reactos/dll/cpl/appwiz/lang/fr-FR.rc @@ -46,6 +46,28 @@ BEGIN LTEXT "Texte 3",-1,10,55,120,20 END +IDD_SHORTCUT_LOCATION DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Create Shortcut" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "This wizard helps you to create shortcuts to local or\nnetwork programs, files, folders, computers, or Internet\naddresses.", -1, 120, 15, 200, 30 + LTEXT "Type the location of the item:", -1, 120, 50, 120, 10 + EDITTEXT IDC_SHORTCUT_LOCATION, 120, 65, 150, 15, ES_LEFT + PUSHBUTTON "Browse...", IDC_SHORTCUT_BROWSE, 280, 60, 70, 15, ES_LEFT + LTEXT "Click Next to continue.", -1, 120, 100, 90, 10 +END + +IDD_SHORTCUT_FINISH DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Select a Title for the Program" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "&Type a name for this shortcut:", -1, 120, 15, 150, 10 + EDITTEXT IDC_SHORTCUT_NAME, 120, 35, 150, 15, ES_LEFT + LTEXT "Click Finish to create the shortcut.", -1, 120, 50, 150, 10 +END + STRINGTABLE BEGIN IDS_CPLSYSTEMNAME "Ajout/Supression de programmes" diff --git a/reactos/dll/cpl/appwiz/lang/hu-HU.rc b/reactos/dll/cpl/appwiz/lang/hu-HU.rc index 8957a38c93c..b38815cfdfd 100644 --- a/reactos/dll/cpl/appwiz/lang/hu-HU.rc +++ b/reactos/dll/cpl/appwiz/lang/hu-HU.rc @@ -45,6 +45,28 @@ BEGIN LTEXT "Text3",-1,10,55,120,20 END +IDD_SHORTCUT_LOCATION DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Create Shortcut" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "This wizard helps you to create shortcuts to local or\nnetwork programs, files, folders, computers, or Internet\naddresses.", -1, 120, 15, 200, 30 + LTEXT "Type the location of the item:", -1, 120, 50, 120, 10 + EDITTEXT IDC_SHORTCUT_LOCATION, 120, 65, 150, 15, ES_LEFT + PUSHBUTTON "Browse...", IDC_SHORTCUT_BROWSE, 280, 60, 70, 15, ES_LEFT + LTEXT "Click Next to continue.", -1, 120, 100, 90, 10 +END + +IDD_SHORTCUT_FINISH DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Select a Title for the Program" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "&Type a name for this shortcut:", -1, 120, 15, 150, 10 + EDITTEXT IDC_SHORTCUT_NAME, 120, 35, 150, 15, ES_LEFT + LTEXT "Click Finish to create the shortcut.", -1, 120, 50, 150, 10 +END + STRINGTABLE BEGIN IDS_CPLSYSTEMNAME "Szoftverek hozzadsa s eltvoltsa" diff --git a/reactos/dll/cpl/appwiz/lang/id-ID.rc b/reactos/dll/cpl/appwiz/lang/id-ID.rc index 286fd385c41..1d7e7025809 100644 --- a/reactos/dll/cpl/appwiz/lang/id-ID.rc +++ b/reactos/dll/cpl/appwiz/lang/id-ID.rc @@ -44,6 +44,28 @@ BEGIN LTEXT "Text3",-1,10,55,120,20 END +IDD_SHORTCUT_LOCATION DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Create Shortcut" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "This wizard helps you to create shortcuts to local or\nnetwork programs, files, folders, computers, or Internet\naddresses.", -1, 120, 15, 200, 30 + LTEXT "Type the location of the item:", -1, 120, 50, 120, 10 + EDITTEXT IDC_SHORTCUT_LOCATION, 120, 65, 150, 15, ES_LEFT + PUSHBUTTON "Browse...", IDC_SHORTCUT_BROWSE, 280, 60, 70, 15, ES_LEFT + LTEXT "Click Next to continue.", -1, 120, 100, 90, 10 +END + +IDD_SHORTCUT_FINISH DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Select a Title for the Program" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "&Type a name for this shortcut:", -1, 120, 15, 150, 10 + EDITTEXT IDC_SHORTCUT_NAME, 120, 35, 150, 15, ES_LEFT + LTEXT "Click Finish to create the shortcut.", -1, 120, 50, 150, 10 +END + STRINGTABLE BEGIN IDS_CPLSYSTEMNAME "Tambah/Hapus Program" diff --git a/reactos/dll/cpl/appwiz/lang/it-IT.rc b/reactos/dll/cpl/appwiz/lang/it-IT.rc index 1e0b4def0e0..4ba4d6a66a3 100644 --- a/reactos/dll/cpl/appwiz/lang/it-IT.rc +++ b/reactos/dll/cpl/appwiz/lang/it-IT.rc @@ -44,6 +44,28 @@ BEGIN LTEXT "Testo3",-1,10,55,120,20 END +IDD_SHORTCUT_LOCATION DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Create Shortcut" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "This wizard helps you to create shortcuts to local or\nnetwork programs, files, folders, computers, or Internet\naddresses.", -1, 120, 15, 200, 30 + LTEXT "Type the location of the item:", -1, 120, 50, 120, 10 + EDITTEXT IDC_SHORTCUT_LOCATION, 120, 65, 150, 15, ES_LEFT + PUSHBUTTON "Browse...", IDC_SHORTCUT_BROWSE, 280, 60, 70, 15, ES_LEFT + LTEXT "Click Next to continue.", -1, 120, 100, 90, 10 +END + +IDD_SHORTCUT_FINISH DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Select a Title for the Program" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "&Type a name for this shortcut:", -1, 120, 15, 150, 10 + EDITTEXT IDC_SHORTCUT_NAME, 120, 35, 150, 15, ES_LEFT + LTEXT "Click Finish to create the shortcut.", -1, 120, 50, 150, 10 +END + STRINGTABLE BEGIN IDS_CPLSYSTEMNAME "Aggiungi/Rimuovi programmi" diff --git a/reactos/dll/cpl/appwiz/lang/ja-JP.rc b/reactos/dll/cpl/appwiz/lang/ja-JP.rc index 3eccdb85696..4d798b2bb2b 100644 --- a/reactos/dll/cpl/appwiz/lang/ja-JP.rc +++ b/reactos/dll/cpl/appwiz/lang/ja-JP.rc @@ -44,6 +44,28 @@ BEGIN LTEXT "Text3",-1,10,55,120,20 END +IDD_SHORTCUT_LOCATION DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Create Shortcut" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "This wizard helps you to create shortcuts to local or\nnetwork programs, files, folders, computers, or Internet\naddresses.", -1, 120, 15, 200, 30 + LTEXT "Type the location of the item:", -1, 120, 50, 120, 10 + EDITTEXT IDC_SHORTCUT_LOCATION, 120, 65, 150, 15, ES_LEFT + PUSHBUTTON "Browse...", IDC_SHORTCUT_BROWSE, 280, 60, 70, 15, ES_LEFT + LTEXT "Click Next to continue.", -1, 120, 100, 90, 10 +END + +IDD_SHORTCUT_FINISH DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Select a Title for the Program" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "&Type a name for this shortcut:", -1, 120, 15, 150, 10 + EDITTEXT IDC_SHORTCUT_NAME, 120, 35, 150, 15, ES_LEFT + LTEXT "Click Finish to create the shortcut.", -1, 120, 50, 150, 10 +END + STRINGTABLE BEGIN IDS_CPLSYSTEMNAME "vO̒ljƍ폜" diff --git a/reactos/dll/cpl/appwiz/lang/nl-NL.rc b/reactos/dll/cpl/appwiz/lang/nl-NL.rc index 9a9dee3fbfa..bea142c0e4f 100644 --- a/reactos/dll/cpl/appwiz/lang/nl-NL.rc +++ b/reactos/dll/cpl/appwiz/lang/nl-NL.rc @@ -44,6 +44,28 @@ BEGIN LTEXT "Text3",-1,10,55,120,20 END +IDD_SHORTCUT_LOCATION DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Create Shortcut" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "This wizard helps you to create shortcuts to local or\nnetwork programs, files, folders, computers, or Internet\naddresses.", -1, 120, 15, 200, 30 + LTEXT "Type the location of the item:", -1, 120, 50, 120, 10 + EDITTEXT IDC_SHORTCUT_LOCATION, 120, 65, 150, 15, ES_LEFT + PUSHBUTTON "Browse...", IDC_SHORTCUT_BROWSE, 280, 60, 70, 15, ES_LEFT + LTEXT "Click Next to continue.", -1, 120, 100, 90, 10 +END + +IDD_SHORTCUT_FINISH DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Select a Title for the Program" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "&Type a name for this shortcut:", -1, 120, 15, 150, 10 + EDITTEXT IDC_SHORTCUT_NAME, 120, 35, 150, 15, ES_LEFT + LTEXT "Click Finish to create the shortcut.", -1, 120, 50, 150, 10 +END + STRINGTABLE BEGIN IDS_CPLSYSTEMNAME "Software" diff --git a/reactos/dll/cpl/appwiz/lang/pl-PL.rc b/reactos/dll/cpl/appwiz/lang/pl-PL.rc index 65022a0afc2..2cb1a0daa4c 100644 --- a/reactos/dll/cpl/appwiz/lang/pl-PL.rc +++ b/reactos/dll/cpl/appwiz/lang/pl-PL.rc @@ -46,6 +46,28 @@ BEGIN LTEXT "Tekst3",-1,10,55,120,20 END +IDD_SHORTCUT_LOCATION DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Create Shortcut" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "This wizard helps you to create shortcuts to local or\nnetwork programs, files, folders, computers, or Internet\naddresses.", -1, 120, 15, 200, 30 + LTEXT "Type the location of the item:", -1, 120, 50, 120, 10 + EDITTEXT IDC_SHORTCUT_LOCATION, 120, 65, 150, 15, ES_LEFT + PUSHBUTTON "Browse...", IDC_SHORTCUT_BROWSE, 280, 60, 70, 15, ES_LEFT + LTEXT "Click Next to continue.", -1, 120, 100, 90, 10 +END + +IDD_SHORTCUT_FINISH DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Select a Title for the Program" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "&Type a name for this shortcut:", -1, 120, 15, 150, 10 + EDITTEXT IDC_SHORTCUT_NAME, 120, 35, 150, 15, ES_LEFT + LTEXT "Click Finish to create the shortcut.", -1, 120, 50, 150, 10 +END + STRINGTABLE BEGIN IDS_CPLSYSTEMNAME "Dodaj/Usu programy" diff --git a/reactos/dll/cpl/appwiz/lang/ru-RU.rc b/reactos/dll/cpl/appwiz/lang/ru-RU.rc index dab16f6c2be..57bc3a3eb83 100644 --- a/reactos/dll/cpl/appwiz/lang/ru-RU.rc +++ b/reactos/dll/cpl/appwiz/lang/ru-RU.rc @@ -44,6 +44,28 @@ BEGIN LTEXT "Text3",-1,10,55,120,20 END +IDD_SHORTCUT_LOCATION DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Create Shortcut" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "This wizard helps you to create shortcuts to local or\nnetwork programs, files, folders, computers, or Internet\naddresses.", -1, 120, 15, 200, 30 + LTEXT "Type the location of the item:", -1, 120, 50, 120, 10 + EDITTEXT IDC_SHORTCUT_LOCATION, 120, 65, 150, 15, ES_LEFT + PUSHBUTTON "Browse...", IDC_SHORTCUT_BROWSE, 280, 60, 70, 15, ES_LEFT + LTEXT "Click Next to continue.", -1, 120, 100, 90, 10 +END + +IDD_SHORTCUT_FINISH DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Select a Title for the Program" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "&Type a name for this shortcut:", -1, 120, 15, 150, 10 + EDITTEXT IDC_SHORTCUT_NAME, 120, 35, 150, 15, ES_LEFT + LTEXT "Click Finish to create the shortcut.", -1, 120, 50, 150, 10 +END + STRINGTABLE BEGIN IDS_CPLSYSTEMNAME " " diff --git a/reactos/dll/cpl/appwiz/lang/th-TH.rc b/reactos/dll/cpl/appwiz/lang/th-TH.rc index 9172e0cb401..6d1765fe215 100644 --- a/reactos/dll/cpl/appwiz/lang/th-TH.rc +++ b/reactos/dll/cpl/appwiz/lang/th-TH.rc @@ -44,6 +44,28 @@ BEGIN LTEXT "Text3",-1,10,55,120,20 END +IDD_SHORTCUT_LOCATION DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Create Shortcut" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "This wizard helps you to create shortcuts to local or\nnetwork programs, files, folders, computers, or Internet\naddresses.", -1, 120, 15, 200, 30 + LTEXT "Type the location of the item:", -1, 120, 50, 120, 10 + EDITTEXT IDC_SHORTCUT_LOCATION, 120, 65, 150, 15, ES_LEFT + PUSHBUTTON "Browse...", IDC_SHORTCUT_BROWSE, 280, 60, 70, 15, ES_LEFT + LTEXT "Click Next to continue.", -1, 120, 100, 90, 10 +END + +IDD_SHORTCUT_FINISH DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Select a Title for the Program" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "&Type a name for this shortcut:", -1, 120, 15, 150, 10 + EDITTEXT IDC_SHORTCUT_NAME, 120, 35, 150, 15, ES_LEFT + LTEXT "Click Finish to create the shortcut.", -1, 120, 50, 150, 10 +END + STRINGTABLE BEGIN IDS_CPLSYSTEMNAME "/ʹ͹ " diff --git a/reactos/dll/cpl/appwiz/lang/uk-UA.rc b/reactos/dll/cpl/appwiz/lang/uk-UA.rc index 107ab303d6f..264b438288e 100644 --- a/reactos/dll/cpl/appwiz/lang/uk-UA.rc +++ b/reactos/dll/cpl/appwiz/lang/uk-UA.rc @@ -52,6 +52,28 @@ BEGIN LTEXT "Text3",-1,10,55,120,20 END +IDD_SHORTCUT_LOCATION DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Create Shortcut" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "This wizard helps you to create shortcuts to local or\nnetwork programs, files, folders, computers, or Internet\naddresses.", -1, 120, 15, 200, 30 + LTEXT "Type the location of the item:", -1, 120, 50, 120, 10 + EDITTEXT IDC_SHORTCUT_LOCATION, 120, 65, 150, 15, ES_LEFT + PUSHBUTTON "Browse...", IDC_SHORTCUT_BROWSE, 280, 60, 70, 15, ES_LEFT + LTEXT "Click Next to continue.", -1, 120, 100, 90, 10 +END + +IDD_SHORTCUT_FINISH DIALOGEX 0, 0, 340, 200 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Select a Title for the Program" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "&Type a name for this shortcut:", -1, 120, 15, 150, 10 + EDITTEXT IDC_SHORTCUT_NAME, 120, 35, 150, 15, ES_LEFT + LTEXT "Click Finish to create the shortcut.", -1, 120, 50, 150, 10 +END + STRINGTABLE BEGIN IDS_CPLSYSTEMNAME " " diff --git a/reactos/dll/cpl/appwiz/resource.h b/reactos/dll/cpl/appwiz/resource.h index 90e5b5b1e44..2a44372629c 100644 --- a/reactos/dll/cpl/appwiz/resource.h +++ b/reactos/dll/cpl/appwiz/resource.h @@ -14,18 +14,25 @@ /* ids */ #define IDI_CPLSYSTEM 1500 +#define IDB_WATERMARK 1501 -#define IDD_PROPPAGEINSTALL 100 -#define IDD_PROPPAGEROSSETUP 101 +#define IDD_PROPPAGEINSTALL 100 +#define IDD_PROPPAGEROSSETUP 101 +#define IDD_SHORTCUT_LOCATION 102 +#define IDD_SHORTCUT_FINISH 103 #define IDS_CPLSYSTEMNAME 1001 #define IDS_CPLSYSTEMDESCRIPTION 2001 /* controls */ -#define IDC_INSTALL 101 -#define IDC_SOFTWARELIST 102 -#define IDC_ADDREMOVE 103 -#define IDC_SHOWUPDATES 104 +#define IDC_INSTALL 201 +#define IDC_SOFTWARELIST 202 +#define IDC_ADDREMOVE 203 +#define IDC_SHOWUPDATES 204 +#define IDC_SHORTCUT_LOCATION 205 +#define IDC_SHORTCUT_BROWSE 206 +#define IDC_SHORTCUT_NAME 207 + #endif /* __CPL_RESOURCE_H */ diff --git a/reactos/dll/cpl/appwiz/resources/watermark.bmp b/reactos/dll/cpl/appwiz/resources/watermark.bmp new file mode 100644 index 0000000000000000000000000000000000000000..1b42e5b4bd0e0d9b4c58d24910e6ace5a0e03b7c GIT binary patch literal 4248 zcmeHJOA5j;6r4gRf>OjQxbXsYAqc^}%U-~fykmHP93(f3^AZ;YQ9)dEF)8npN&6_n zoA55z`xbQ_18`uLXr~V7u%ZFC4X|G~tAK-CX6D|Lc_3nl#9{=BA9(~_G?Y@1bA}__ z%ma}EBWCr8@3ICxKO>+e2E@Q(7)bn+)VI4rQ9P(0mZyiQKMy-?Snf^ZFq literal 0 HcmV?d00001