diff --git a/reactos/dll/win32/msgina/gui.c b/reactos/dll/win32/msgina/gui.c index 7a4574a051d..83b1ebdd11e 100644 --- a/reactos/dll/win32/msgina/gui.c +++ b/reactos/dll/win32/msgina/gui.c @@ -311,6 +311,56 @@ OnChangePassword( } +static INT_PTR CALLBACK +LogOffDialogProc( + IN HWND hwndDlg, + IN UINT uMsg, + IN WPARAM wParam, + IN LPARAM lParam) +{ + switch (uMsg) + { + case WM_INITDIALOG: + return TRUE; + + case WM_COMMAND: + switch (LOWORD(wParam)) + { + case IDYES: + EndDialog(hwndDlg, IDYES); + return TRUE; + + case IDNO: + EndDialog(hwndDlg, IDNO); + return TRUE; + } + break; + + case WM_CLOSE: + EndDialog(hwndDlg, IDNO); + return TRUE; + } + + return FALSE; +} + + +static +INT +OnLogOff( + IN HWND hwndDlg, + IN PGINA_CONTEXT pgContext) +{ + return pgContext->pWlxFuncs->WlxDialogBoxParam( + pgContext->hWlx, + pgContext->hDllInstance, + MAKEINTRESOURCEW(IDD_LOGOFF_DLG), + hwndDlg, + LogOffDialogProc, + (LPARAM)pgContext); +} + + static INT_PTR CALLBACK LoggedOnWindowProc( IN HWND hwndDlg, @@ -342,7 +392,8 @@ LoggedOnWindowProc( EndDialog(hwndDlg, WLX_SAS_ACTION_LOCK_WKSTA); return TRUE; case IDC_LOGOFF: - EndDialog(hwndDlg, WLX_SAS_ACTION_LOGOFF); + if (OnLogOff(hwndDlg, pgContext) == IDYES) + EndDialog(hwndDlg, WLX_SAS_ACTION_LOGOFF); return TRUE; case IDC_SHUTDOWN: EndDialog(hwndDlg, WLX_SAS_ACTION_SHUTDOWN_POWER_OFF); diff --git a/reactos/dll/win32/msgina/lang/bg-BG.rc b/reactos/dll/win32/msgina/lang/bg-BG.rc index ef10047e84c..34b52d7dfd0 100644 --- a/reactos/dll/win32/msgina/lang/bg-BG.rc +++ b/reactos/dll/win32/msgina/lang/bg-BG.rc @@ -100,6 +100,17 @@ BEGIN PUSHBUTTON "Cancel", IDCANCEL, 218, 145, 50, 14 END +IDD_LOGOFF_DLG DIALOGEX 0, 0, 188, 60 +STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP +CAPTION "Log Off ReactOS" +FONT 8, "MS Shell Dlg", 400, 0, 1 +BEGIN + ICON IDI_LOCKICON, -1, 7, 7, 20, 20 + LTEXT "Are you sure you want to log off?", IDC_STATIC, 35, 16, 146, 8 + PUSHBUTTON "Yes", IDYES, 41, 39, 50, 14, BS_DEFPUSHBUTTON + PUSHBUTTON "No", IDNO, 95, 39, 50, 14 +END + STRINGTABLE BEGIN IDS_LOGGEDOUTSAS "Здравейте!" diff --git a/reactos/dll/win32/msgina/lang/cs-CZ.rc b/reactos/dll/win32/msgina/lang/cs-CZ.rc index 47af2e60b97..0a0acd16bdc 100644 --- a/reactos/dll/win32/msgina/lang/cs-CZ.rc +++ b/reactos/dll/win32/msgina/lang/cs-CZ.rc @@ -105,6 +105,17 @@ BEGIN PUSHBUTTON "Cancel", IDCANCEL, 218, 145, 50, 14 END +IDD_LOGOFF_DLG DIALOGEX 0, 0, 188, 60 +STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP +CAPTION "Log Off ReactOS" +FONT 8, "MS Shell Dlg", 400, 0, 1 +BEGIN + ICON IDI_LOCKICON, -1, 7, 7, 20, 20 + LTEXT "Are you sure you want to log off?", IDC_STATIC, 35, 16, 146, 8 + PUSHBUTTON "Yes", IDYES, 41, 39, 50, 14, BS_DEFPUSHBUTTON + PUSHBUTTON "No", IDNO, 95, 39, 50, 14 +END + STRINGTABLE BEGIN IDS_LOGGEDOUTSAS "Vítejte!" diff --git a/reactos/dll/win32/msgina/lang/de-DE.rc b/reactos/dll/win32/msgina/lang/de-DE.rc index 796b2bde404..9114eec5625 100644 --- a/reactos/dll/win32/msgina/lang/de-DE.rc +++ b/reactos/dll/win32/msgina/lang/de-DE.rc @@ -44,7 +44,7 @@ BEGIN LTEXT "", IDC_LOGONDATE, 15, 94, 245, 8 CTEXT "Was wollen Sie tun?", IDC_STATIC, 10, 119, 255, 8 PUSHBUTTON "Computer sperren", IDC_LOCK, 10, 135, 76, 14 - PUSHBUTTON "Abmelden", IDC_LOGOFF, 100, 135, 75, 14 + PUSHBUTTON "Abmelden...", IDC_LOGOFF, 100, 135, 75, 14 PUSHBUTTON "Herunterfahren", IDC_SHUTDOWN, 189, 135, 76, 14 PUSHBUTTON "Password ändern", IDC_CHANGEPWD, 10, 154, 76, 14, WS_DISABLED PUSHBUTTON "Task-Manager", IDC_TASKMGR, 100, 154, 75, 14 @@ -100,6 +100,17 @@ BEGIN PUSHBUTTON "Abbrechen", IDCANCEL, 218, 145, 50, 14 END +IDD_LOGOFF_DLG DIALOGEX 0, 0, 188, 60 +STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP +CAPTION "Von ReactOS abmelden" +FONT 8, "MS Shell Dlg", 400, 0, 1 +BEGIN + ICON IDI_LOCKICON, -1, 7, 7, 20, 20 + LTEXT "Wollen Sie sich wirklich abmelden?", IDC_STATIC, 35, 16, 146, 8 + PUSHBUTTON "Ja", IDYES, 41, 39, 50, 14, BS_DEFPUSHBUTTON + PUSHBUTTON "Nein", IDNO, 95, 39, 50, 14 +END + STRINGTABLE BEGIN IDS_LOGGEDOUTSAS "Willkommen!" diff --git a/reactos/dll/win32/msgina/lang/en-US.rc b/reactos/dll/win32/msgina/lang/en-US.rc index dcc95803a06..453ad6c51cf 100644 --- a/reactos/dll/win32/msgina/lang/en-US.rc +++ b/reactos/dll/win32/msgina/lang/en-US.rc @@ -44,7 +44,7 @@ BEGIN LTEXT "", IDC_LOGONDATE, 15, 94, 245, 8 CTEXT "What do you want to do?", IDC_STATIC, 10, 119, 255, 8 PUSHBUTTON "Lock computer", IDC_LOCK, 10, 135, 76, 14 - PUSHBUTTON "Log off", IDC_LOGOFF, 100, 135, 75, 14 + PUSHBUTTON "Log off...", IDC_LOGOFF, 100, 135, 75, 14 PUSHBUTTON "Shutdown", IDC_SHUTDOWN, 189, 135, 76, 14 PUSHBUTTON "Change Password", IDC_CHANGEPWD, 10, 154, 76, 14, WS_DISABLED PUSHBUTTON "Task manager", IDC_TASKMGR, 100, 154, 75, 14 @@ -100,6 +100,17 @@ BEGIN PUSHBUTTON "Cancel", IDCANCEL, 218, 145, 50, 14 END +IDD_LOGOFF_DLG DIALOGEX 0, 0, 188, 60 +STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP +CAPTION "Log Off ReactOS" +FONT 8, "MS Shell Dlg", 400, 0, 1 +BEGIN + ICON IDI_LOCKICON, -1, 7, 7, 20, 20 + LTEXT "Are you sure you want to log off?", IDC_STATIC, 35, 16, 146, 8 + PUSHBUTTON "Yes", IDYES, 41, 39, 50, 14, BS_DEFPUSHBUTTON + PUSHBUTTON "No", IDNO, 95, 39, 50, 14 +END + STRINGTABLE BEGIN IDS_LOGGEDOUTSAS "Welcome!" diff --git a/reactos/dll/win32/msgina/lang/es-ES.rc b/reactos/dll/win32/msgina/lang/es-ES.rc index dfb3adc22bd..ab0d4f359cb 100644 --- a/reactos/dll/win32/msgina/lang/es-ES.rc +++ b/reactos/dll/win32/msgina/lang/es-ES.rc @@ -102,6 +102,17 @@ BEGIN PUSHBUTTON "Cancel", IDCANCEL, 218, 145, 50, 14 END +IDD_LOGOFF_DLG DIALOGEX 0, 0, 188, 60 +STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP +CAPTION "Log Off ReactOS" +FONT 8, "MS Shell Dlg", 400, 0, 1 +BEGIN + ICON IDI_LOCKICON, -1, 7, 7, 20, 20 + LTEXT "Are you sure you want to log off?", IDC_STATIC, 35, 16, 146, 8 + PUSHBUTTON "Yes", IDYES, 41, 39, 50, 14, BS_DEFPUSHBUTTON + PUSHBUTTON "No", IDNO, 95, 39, 50, 14 +END + STRINGTABLE BEGIN IDS_LOGGEDOUTSAS "¡Bienvenido!" diff --git a/reactos/dll/win32/msgina/lang/fr-FR.rc b/reactos/dll/win32/msgina/lang/fr-FR.rc index fe46f12eae9..b2fbc423d3f 100644 --- a/reactos/dll/win32/msgina/lang/fr-FR.rc +++ b/reactos/dll/win32/msgina/lang/fr-FR.rc @@ -100,6 +100,17 @@ BEGIN PUSHBUTTON "Cancel", IDCANCEL, 218, 145, 50, 14 END +IDD_LOGOFF_DLG DIALOGEX 0, 0, 188, 60 +STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP +CAPTION "Log Off ReactOS" +FONT 8, "MS Shell Dlg", 400, 0, 1 +BEGIN + ICON IDI_LOCKICON, -1, 7, 7, 20, 20 + LTEXT "Are you sure you want to log off?", IDC_STATIC, 35, 16, 146, 8 + PUSHBUTTON "Yes", IDYES, 41, 39, 50, 14, BS_DEFPUSHBUTTON + PUSHBUTTON "No", IDNO, 95, 39, 50, 14 +END + STRINGTABLE BEGIN IDS_LOGGEDOUTSAS "Bienvenue!" diff --git a/reactos/dll/win32/msgina/lang/he-IL.rc b/reactos/dll/win32/msgina/lang/he-IL.rc index cb35229d985..33b2290ea5a 100644 --- a/reactos/dll/win32/msgina/lang/he-IL.rc +++ b/reactos/dll/win32/msgina/lang/he-IL.rc @@ -100,6 +100,17 @@ BEGIN PUSHBUTTON "Cancel", IDCANCEL, 218, 145, 50, 14 END +IDD_LOGOFF_DLG DIALOGEX 0, 0, 188, 60 +STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP +CAPTION "Log Off ReactOS" +FONT 8, "MS Shell Dlg", 400, 0, 1 +BEGIN + ICON IDI_LOCKICON, -1, 7, 7, 20, 20 + LTEXT "Are you sure you want to log off?", IDC_STATIC, 35, 16, 146, 8 + PUSHBUTTON "Yes", IDYES, 41, 39, 50, 14, BS_DEFPUSHBUTTON + PUSHBUTTON "No", IDNO, 95, 39, 50, 14 +END + STRINGTABLE BEGIN IDS_LOGGEDOUTSAS "ברוכים הבאים!" diff --git a/reactos/dll/win32/msgina/lang/id-ID.rc b/reactos/dll/win32/msgina/lang/id-ID.rc index 8dd8c874075..5e851b8877a 100644 --- a/reactos/dll/win32/msgina/lang/id-ID.rc +++ b/reactos/dll/win32/msgina/lang/id-ID.rc @@ -100,6 +100,17 @@ BEGIN PUSHBUTTON "Cancel", IDCANCEL, 218, 145, 50, 14 END +IDD_LOGOFF_DLG DIALOGEX 0, 0, 188, 60 +STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP +CAPTION "Log Off ReactOS" +FONT 8, "MS Shell Dlg", 400, 0, 1 +BEGIN + ICON IDI_LOCKICON, -1, 7, 7, 20, 20 + LTEXT "Are you sure you want to log off?", IDC_STATIC, 35, 16, 146, 8 + PUSHBUTTON "Yes", IDYES, 41, 39, 50, 14, BS_DEFPUSHBUTTON + PUSHBUTTON "No", IDNO, 95, 39, 50, 14 +END + STRINGTABLE BEGIN IDS_LOGGEDOUTSAS "Selamat datang!" diff --git a/reactos/dll/win32/msgina/lang/it-IT.rc b/reactos/dll/win32/msgina/lang/it-IT.rc index e227ae3f0e7..9bead5a318f 100644 --- a/reactos/dll/win32/msgina/lang/it-IT.rc +++ b/reactos/dll/win32/msgina/lang/it-IT.rc @@ -108,6 +108,17 @@ BEGIN PUSHBUTTON "Cancella", IDCANCEL, 218, 145, 50, 14 END +IDD_LOGOFF_DLG DIALOGEX 0, 0, 188, 60 +STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP +CAPTION "Log Off ReactOS" +FONT 8, "MS Shell Dlg", 400, 0, 1 +BEGIN + ICON IDI_LOCKICON, -1, 7, 7, 20, 20 + LTEXT "Are you sure you want to log off?", IDC_STATIC, 35, 16, 146, 8 + PUSHBUTTON "Yes", IDYES, 41, 39, 50, 14, BS_DEFPUSHBUTTON + PUSHBUTTON "No", IDNO, 95, 39, 50, 14 +END + STRINGTABLE BEGIN IDS_LOGGEDOUTSAS "Benvenuti!" diff --git a/reactos/dll/win32/msgina/lang/ja-JP.rc b/reactos/dll/win32/msgina/lang/ja-JP.rc index 9c5b1049d37..e235775ce57 100644 --- a/reactos/dll/win32/msgina/lang/ja-JP.rc +++ b/reactos/dll/win32/msgina/lang/ja-JP.rc @@ -100,6 +100,17 @@ BEGIN PUSHBUTTON "Cancel", IDCANCEL, 218, 145, 50, 14 END +IDD_LOGOFF_DLG DIALOGEX 0, 0, 188, 60 +STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP +CAPTION "Log Off ReactOS" +FONT 8, "MS Shell Dlg", 400, 0, 1 +BEGIN + ICON IDI_LOCKICON, -1, 7, 7, 20, 20 + LTEXT "Are you sure you want to log off?", IDC_STATIC, 35, 16, 146, 8 + PUSHBUTTON "Yes", IDYES, 41, 39, 50, 14, BS_DEFPUSHBUTTON + PUSHBUTTON "No", IDNO, 95, 39, 50, 14 +END + STRINGTABLE BEGIN IDS_LOGGEDOUTSAS "ようこそ!" diff --git a/reactos/dll/win32/msgina/lang/no-NO.rc b/reactos/dll/win32/msgina/lang/no-NO.rc index 637fd2355c7..03e37f48a45 100644 --- a/reactos/dll/win32/msgina/lang/no-NO.rc +++ b/reactos/dll/win32/msgina/lang/no-NO.rc @@ -100,6 +100,17 @@ BEGIN PUSHBUTTON "Cancel", IDCANCEL, 218, 145, 50, 14 END +IDD_LOGOFF_DLG DIALOGEX 0, 0, 188, 60 +STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP +CAPTION "Log Off ReactOS" +FONT 8, "MS Shell Dlg", 400, 0, 1 +BEGIN + ICON IDI_LOCKICON, -1, 7, 7, 20, 20 + LTEXT "Are you sure you want to log off?", IDC_STATIC, 35, 16, 146, 8 + PUSHBUTTON "Yes", IDYES, 41, 39, 50, 14, BS_DEFPUSHBUTTON + PUSHBUTTON "No", IDNO, 95, 39, 50, 14 +END + STRINGTABLE BEGIN IDS_LOGGEDOUTSAS "Velkommen!" diff --git a/reactos/dll/win32/msgina/lang/pl-PL.rc b/reactos/dll/win32/msgina/lang/pl-PL.rc index 6b0bec861a6..dd41085dce9 100644 --- a/reactos/dll/win32/msgina/lang/pl-PL.rc +++ b/reactos/dll/win32/msgina/lang/pl-PL.rc @@ -108,6 +108,17 @@ BEGIN PUSHBUTTON "Cancel", IDCANCEL, 218, 145, 50, 14 END +IDD_LOGOFF_DLG DIALOGEX 0, 0, 188, 60 +STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP +CAPTION "Log Off ReactOS" +FONT 8, "MS Shell Dlg", 400, 0, 1 +BEGIN + ICON IDI_LOCKICON, -1, 7, 7, 20, 20 + LTEXT "Are you sure you want to log off?", IDC_STATIC, 35, 16, 146, 8 + PUSHBUTTON "Yes", IDYES, 41, 39, 50, 14, BS_DEFPUSHBUTTON + PUSHBUTTON "No", IDNO, 95, 39, 50, 14 +END + STRINGTABLE BEGIN IDS_LOGGEDOUTSAS "Witaj!" diff --git a/reactos/dll/win32/msgina/lang/ro-RO.rc b/reactos/dll/win32/msgina/lang/ro-RO.rc index 6e9eb96e15f..856f34a01e5 100644 --- a/reactos/dll/win32/msgina/lang/ro-RO.rc +++ b/reactos/dll/win32/msgina/lang/ro-RO.rc @@ -102,6 +102,17 @@ BEGIN PUSHBUTTON "Cancel", IDCANCEL, 218, 145, 50, 14 END +IDD_LOGOFF_DLG DIALOGEX 0, 0, 188, 60 +STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP +CAPTION "Log Off ReactOS" +FONT 8, "MS Shell Dlg", 400, 0, 1 +BEGIN + ICON IDI_LOCKICON, -1, 7, 7, 20, 20 + LTEXT "Are you sure you want to log off?", IDC_STATIC, 35, 16, 146, 8 + PUSHBUTTON "Yes", IDYES, 41, 39, 50, 14, BS_DEFPUSHBUTTON + PUSHBUTTON "No", IDNO, 95, 39, 50, 14 +END + STRINGTABLE BEGIN IDS_LOGGEDOUTSAS "Bun venit!" diff --git a/reactos/dll/win32/msgina/lang/ru-RU.rc b/reactos/dll/win32/msgina/lang/ru-RU.rc index fcc281c052e..e362a306227 100644 --- a/reactos/dll/win32/msgina/lang/ru-RU.rc +++ b/reactos/dll/win32/msgina/lang/ru-RU.rc @@ -102,6 +102,17 @@ BEGIN PUSHBUTTON "Cancel", IDCANCEL, 218, 145, 50, 14 END +IDD_LOGOFF_DLG DIALOGEX 0, 0, 188, 60 +STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP +CAPTION "Log Off ReactOS" +FONT 8, "MS Shell Dlg", 400, 0, 1 +BEGIN + ICON IDI_LOCKICON, -1, 7, 7, 20, 20 + LTEXT "Are you sure you want to log off?", IDC_STATIC, 35, 16, 146, 8 + PUSHBUTTON "Yes", IDYES, 41, 39, 50, 14, BS_DEFPUSHBUTTON + PUSHBUTTON "No", IDNO, 95, 39, 50, 14 +END + STRINGTABLE BEGIN IDS_LOGGEDOUTSAS "Добро пожаловать!" diff --git a/reactos/dll/win32/msgina/lang/sk-SK.rc b/reactos/dll/win32/msgina/lang/sk-SK.rc index 0c4bb83ab72..77dd4dd5de4 100644 --- a/reactos/dll/win32/msgina/lang/sk-SK.rc +++ b/reactos/dll/win32/msgina/lang/sk-SK.rc @@ -105,6 +105,17 @@ BEGIN PUSHBUTTON "Cancel", IDCANCEL, 218, 145, 50, 14 END +IDD_LOGOFF_DLG DIALOGEX 0, 0, 188, 60 +STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP +CAPTION "Log Off ReactOS" +FONT 8, "MS Shell Dlg", 400, 0, 1 +BEGIN + ICON IDI_LOCKICON, -1, 7, 7, 20, 20 + LTEXT "Are you sure you want to log off?", IDC_STATIC, 35, 16, 146, 8 + PUSHBUTTON "Yes", IDYES, 41, 39, 50, 14, BS_DEFPUSHBUTTON + PUSHBUTTON "No", IDNO, 95, 39, 50, 14 +END + STRINGTABLE BEGIN IDS_LOGGEDOUTSAS "Vitajte!" diff --git a/reactos/dll/win32/msgina/lang/tr-TR.rc b/reactos/dll/win32/msgina/lang/tr-TR.rc index 62d5856f207..a6a0ffbda7c 100644 --- a/reactos/dll/win32/msgina/lang/tr-TR.rc +++ b/reactos/dll/win32/msgina/lang/tr-TR.rc @@ -102,6 +102,17 @@ BEGIN PUSHBUTTON "İptal", IDCANCEL, 218, 145, 50, 14 END +IDD_LOGOFF_DLG DIALOGEX 0, 0, 188, 60 +STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP +CAPTION "Log Off ReactOS" +FONT 8, "MS Shell Dlg", 400, 0, 1 +BEGIN + ICON IDI_LOCKICON, -1, 7, 7, 20, 20 + LTEXT "Are you sure you want to log off?", IDC_STATIC, 35, 16, 146, 8 + PUSHBUTTON "Yes", IDYES, 41, 39, 50, 14, BS_DEFPUSHBUTTON + PUSHBUTTON "No", IDNO, 95, 39, 50, 14 +END + STRINGTABLE BEGIN IDS_LOGGEDOUTSAS "Hoşgeldiniz!" diff --git a/reactos/dll/win32/msgina/lang/uk-UA.rc b/reactos/dll/win32/msgina/lang/uk-UA.rc index 814d37f4f70..fca62ab6c3e 100644 --- a/reactos/dll/win32/msgina/lang/uk-UA.rc +++ b/reactos/dll/win32/msgina/lang/uk-UA.rc @@ -108,6 +108,17 @@ BEGIN PUSHBUTTON "Cancel", IDCANCEL, 218, 145, 50, 14 END +IDD_LOGOFF_DLG DIALOGEX 0, 0, 188, 60 +STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_POPUP +CAPTION "Log Off ReactOS" +FONT 8, "MS Shell Dlg", 400, 0, 1 +BEGIN + ICON IDI_LOCKICON, -1, 7, 7, 20, 20 + LTEXT "Are you sure you want to log off?", IDC_STATIC, 35, 16, 146, 8 + PUSHBUTTON "Yes", IDYES, 41, 39, 50, 14, BS_DEFPUSHBUTTON + PUSHBUTTON "No", IDNO, 95, 39, 50, 14 +END + STRINGTABLE BEGIN IDS_LOGGEDOUTSAS "Ласкаво просимо!" diff --git a/reactos/dll/win32/msgina/resource.h b/reactos/dll/win32/msgina/resource.h index 14e016f2ec5..bc4ab5aecf7 100644 --- a/reactos/dll/win32/msgina/resource.h +++ b/reactos/dll/win32/msgina/resource.h @@ -28,6 +28,8 @@ #define IDC_CHANGEPWD_NEWPWD1 1016 #define IDC_CHANGEPWD_NEWPWD2 1017 +#define IDD_LOGOFF_DLG 107 + #define IDI_ROSLOGO 20000 #define IDI_LOCKICON 21