https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4453f72ef80d86f0c6e83…
commit 4453f72ef80d86f0c6e83d80210ab4911b268510
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sat Apr 7 20:47:10 2018 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sat Apr 7 22:26:46 2018 +0200
[MSGINA] Add the shutdown reason dialog but keep it disabled by default
---
dll/win32/msgina/lang/bg-BG.rc | 27 +++++++++++++++++
dll/win32/msgina/lang/cs-CZ.rc | 27 +++++++++++++++++
dll/win32/msgina/lang/de-DE.rc | 27 +++++++++++++++++
dll/win32/msgina/lang/en-US.rc | 27 +++++++++++++++++
dll/win32/msgina/lang/es-ES.rc | 27 +++++++++++++++++
dll/win32/msgina/lang/fr-FR.rc | 27 +++++++++++++++++
dll/win32/msgina/lang/he-IL.rc | 27 +++++++++++++++++
dll/win32/msgina/lang/id-ID.rc | 27 +++++++++++++++++
dll/win32/msgina/lang/it-IT.rc | 27 +++++++++++++++++
dll/win32/msgina/lang/ja-JP.rc | 27 +++++++++++++++++
dll/win32/msgina/lang/no-NO.rc | 27 +++++++++++++++++
dll/win32/msgina/lang/pl-PL.rc | 27 +++++++++++++++++
dll/win32/msgina/lang/ro-RO.rc | 27 +++++++++++++++++
dll/win32/msgina/lang/ru-RU.rc | 27 +++++++++++++++++
dll/win32/msgina/lang/sk-SK.rc | 27 +++++++++++++++++
dll/win32/msgina/lang/sq-AL.rc | 27 +++++++++++++++++
dll/win32/msgina/lang/tr-TR.rc | 27 +++++++++++++++++
dll/win32/msgina/lang/uk-UA.rc | 27 +++++++++++++++++
dll/win32/msgina/lang/zh-CN.rc | 27 +++++++++++++++++
dll/win32/msgina/lang/zh-TW.rc | 27 +++++++++++++++++
dll/win32/msgina/resource.h | 5 ++++
dll/win32/msgina/shutdown.c | 68 ++++++++++++++++++++++++++++++++++++++++--
22 files changed, 611 insertions(+), 2 deletions(-)
diff --git a/dll/win32/msgina/lang/bg-BG.rc b/dll/win32/msgina/lang/bg-BG.rc
index 3bac3b26f5..c01b2d09d2 100644
--- a/dll/win32/msgina/lang/bg-BG.rc
+++ b/dll/win32/msgina/lang/bg-BG.rc
@@ -132,6 +132,33 @@ BEGIN
// PUSHBUTTON "Помо&щ", IDHELP, 204, 122, 55, 14
END
+IDD_SHUTDOWN_REASON DIALOGEX 0, 0, 275, 297
+STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION
+// STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER |
WS_CAPTION | WS_DLGFRAME | WS_POPUP
+CAPTION "Изключване на РеактОС"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
+ ICON IDI_SHUTDOWN, IDI_SHUTDOWN, 9, 57, 21, 20, WS_GROUP
+ LTEXT "&Какво искате да направи компютъра?", IDC_STATIC, 39, 57, 167,
10
+ COMBOBOX IDC_SHUTDOWN_LIST, 39, 70, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 190, 27
+ GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 9, 122, 257, 146
+ LTEXT "Select the option that best describes why you want to shut down your
computer.", IDC_STATIC, 39, 134, 190, 17
+ LTEXT "&Option:", IDC_STATIC, 39, 154, 80, 8
+ AUTOCHECKBOX "&Planned", IDC_REASON_PLANNED, 182, 154, 47, 10
+ COMBOBOX IDC_REASON_LIST, 39, 165, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_REASON_DESCRIPTION, 39, 184, 190, 27
+ LTEXT "&Comment:", IDC_STATIC, 39, 214, 80, 8
+ EDITTEXT IDC_REASON_COMMENT, 39, 224, 190, 35, ES_MULTILINE | WS_VISIBLE |
WS_TABSTOP
+ DEFPUSHBUTTON "Добре", IDOK, 150, 276, 55, 14, WS_GROUP
+ PUSHBUTTON "Отказ", IDCANCEL, 211, 276, 55, 14
+
+ // DEFPUSHBUTTON "Добре", IDOK, 87, 276, 55, 14, WS_GROUP
+ // PUSHBUTTON "Отказ", IDCANCEL, 150, 276, 55, 14
+ // PUSHBUTTON "Помо&щ", IDHELP, 211, 276, 55, 14
+END
+
IDD_LEGALNOTICE_DLG DIALOGEX 0, 0, 280, 200
STYLE DS_MODALFRAME | DS_SHELLFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION ""
diff --git a/dll/win32/msgina/lang/cs-CZ.rc b/dll/win32/msgina/lang/cs-CZ.rc
index 2eee9560ee..4890687273 100644
--- a/dll/win32/msgina/lang/cs-CZ.rc
+++ b/dll/win32/msgina/lang/cs-CZ.rc
@@ -137,6 +137,33 @@ BEGIN
// PUSHBUTTON "&Nápověda", IDHELP, 204, 122, 55, 14
END
+IDD_SHUTDOWN_REASON DIALOGEX 0, 0, 275, 297
+STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION
+// STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER |
WS_CAPTION | WS_DLGFRAME | WS_POPUP
+CAPTION "Vypnout ReactOS"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
+ ICON IDI_SHUTDOWN, IDI_SHUTDOWN, 9, 57, 21, 20, WS_GROUP
+ LTEXT "&Co má počítač provést?", IDC_STATIC, 39, 57, 167, 10
+ COMBOBOX IDC_SHUTDOWN_LIST, 39, 70, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 190, 27
+ GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 9, 122, 257, 146
+ LTEXT "Select the option that best describes why you want to shut down your
computer.", IDC_STATIC, 39, 134, 190, 17
+ LTEXT "&Option:", IDC_STATIC, 39, 154, 80, 8
+ AUTOCHECKBOX "&Planned", IDC_REASON_PLANNED, 182, 154, 47, 10
+ COMBOBOX IDC_REASON_LIST, 39, 165, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_REASON_DESCRIPTION, 39, 184, 190, 27
+ LTEXT "&Comment:", IDC_STATIC, 39, 214, 80, 8
+ EDITTEXT IDC_REASON_COMMENT, 39, 224, 190, 35, ES_MULTILINE | WS_VISIBLE |
WS_TABSTOP
+ DEFPUSHBUTTON "OK", IDOK, 150, 276, 55, 14, WS_GROUP
+ PUSHBUTTON "Storno", IDCANCEL, 211, 276, 55, 14
+
+ // DEFPUSHBUTTON "OK", IDOK, 87, 276, 55, 14, WS_GROUP
+ // PUSHBUTTON "Storno", IDCANCEL, 150, 276, 55, 14
+ // PUSHBUTTON "&Nápověda", IDHELP, 211, 276, 55, 14
+END
+
IDD_LEGALNOTICE_DLG DIALOGEX 0, 0, 280, 200
STYLE DS_MODALFRAME | DS_SHELLFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION ""
diff --git a/dll/win32/msgina/lang/de-DE.rc b/dll/win32/msgina/lang/de-DE.rc
index 03b369d6bf..0e547ef8c5 100644
--- a/dll/win32/msgina/lang/de-DE.rc
+++ b/dll/win32/msgina/lang/de-DE.rc
@@ -132,6 +132,33 @@ BEGIN
// PUSHBUTTON "&Hilfe", IDHELP, 204, 122, 55, 14
END
+IDD_SHUTDOWN_REASON DIALOGEX 0, 0, 275, 297
+STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION
+// STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER |
WS_CAPTION | WS_DLGFRAME | WS_POPUP
+CAPTION "ReactOS herunterfahren"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
+ ICON IDI_SHUTDOWN, IDI_SHUTDOWN, 9, 57, 21, 20, WS_GROUP
+ LTEXT "&Welcher Vorgang soll durchgeführt werden?", IDC_STATIC, 39, 57,
167, 10
+ COMBOBOX IDC_SHUTDOWN_LIST, 39, 70, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 190, 27
+ GROUPBOX "Ereignisprotokollierung", IDC_STATIC, 9, 122, 257, 146
+ LTEXT "Wählen Sie die Option, die am besten beschreibt, warum der Computer
heruntergefahren werden soll.", IDC_STATIC, 39, 134, 190, 17
+ LTEXT "&Option:", IDC_STATIC, 39, 154, 80, 8
+ AUTOCHECKBOX "&Geplant", IDC_REASON_PLANNED, 182, 154, 47, 10
+ COMBOBOX IDC_REASON_LIST, 39, 165, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_REASON_DESCRIPTION, 39, 184, 190, 27
+ LTEXT "&Kommentar:", IDC_STATIC, 39, 214, 80, 8
+ EDITTEXT IDC_REASON_COMMENT, 39, 224, 190, 35, ES_MULTILINE | WS_VISIBLE |
WS_TABSTOP
+ DEFPUSHBUTTON "OK", IDOK, 150, 276, 55, 14, WS_GROUP
+ PUSHBUTTON "Abbrechen", IDCANCEL, 211, 276, 55, 14
+
+ // DEFPUSHBUTTON "OK", IDOK, 87, 276, 55, 14, WS_GROUP
+ // PUSHBUTTON "Abbrechen", IDCANCEL, 150, 276, 55, 14
+ // PUSHBUTTON "&Hilfe", IDHELP, 211, 276, 55, 14
+END
+
IDD_LEGALNOTICE_DLG DIALOGEX 0, 0, 280, 200
STYLE DS_MODALFRAME | DS_SHELLFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION ""
diff --git a/dll/win32/msgina/lang/en-US.rc b/dll/win32/msgina/lang/en-US.rc
index 519612a5b9..249ecf2ba1 100644
--- a/dll/win32/msgina/lang/en-US.rc
+++ b/dll/win32/msgina/lang/en-US.rc
@@ -133,6 +133,33 @@ BEGIN
// PUSHBUTTON "&Help", IDHELP, 204, 122, 55, 14
END
+IDD_SHUTDOWN_REASON DIALOGEX 0, 0, 275, 297
+STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION
+// STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER |
WS_CAPTION | WS_DLGFRAME | WS_POPUP
+CAPTION "Shut Down ReactOS"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
+ ICON IDI_SHUTDOWN, IDI_SHUTDOWN, 9, 57, 21, 20, WS_GROUP
+ LTEXT "&What do you want the computer to do?", IDC_STATIC, 39, 57, 167,
10
+ COMBOBOX IDC_SHUTDOWN_LIST, 39, 70, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 190, 27
+ GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 9, 122, 257, 146
+ LTEXT "Select the option that best describes why you want to shut down your
computer.", IDC_STATIC, 39, 134, 190, 17
+ LTEXT "&Option:", IDC_STATIC, 39, 154, 80, 8
+ AUTOCHECKBOX "&Planned", IDC_REASON_PLANNED, 182, 154, 47, 10
+ COMBOBOX IDC_REASON_LIST, 39, 165, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_REASON_DESCRIPTION, 39, 184, 190, 27
+ LTEXT "&Comment:", IDC_STATIC, 39, 214, 80, 8
+ EDITTEXT IDC_REASON_COMMENT, 39, 224, 190, 35, ES_MULTILINE | WS_VISIBLE |
WS_TABSTOP
+ DEFPUSHBUTTON "OK", IDOK, 150, 276, 55, 14, WS_GROUP
+ PUSHBUTTON "Cancel", IDCANCEL, 211, 276, 55, 14
+
+ // DEFPUSHBUTTON "OK", IDOK, 87, 276, 55, 14, WS_GROUP
+ // PUSHBUTTON "Cancel", IDCANCEL, 150, 276, 55, 14
+ // PUSHBUTTON "&Help", IDHELP, 211, 276, 55, 14
+END
+
IDD_LEGALNOTICE_DLG DIALOGEX 0, 0, 280, 200
STYLE DS_MODALFRAME | DS_SHELLFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION ""
diff --git a/dll/win32/msgina/lang/es-ES.rc b/dll/win32/msgina/lang/es-ES.rc
index a52079424a..aad7d12372 100644
--- a/dll/win32/msgina/lang/es-ES.rc
+++ b/dll/win32/msgina/lang/es-ES.rc
@@ -133,6 +133,33 @@ BEGIN
// PUSHBUTTON "&Ayuda", IDHELP, 204, 122, 55, 14
END
+IDD_SHUTDOWN_REASON DIALOGEX 0, 0, 275, 297
+STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION
+// STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER |
WS_CAPTION | WS_DLGFRAME | WS_POPUP
+CAPTION "Apagar ReactOS"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
+ ICON IDI_SHUTDOWN, IDI_SHUTDOWN, 9, 57, 21, 20, WS_GROUP
+ LTEXT "¿&Qué desea hacer con el equipo?", IDC_STATIC, 39, 57, 167, 10
+ COMBOBOX IDC_SHUTDOWN_LIST, 39, 70, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 190, 27
+ GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 9, 122, 257, 146
+ LTEXT "Select the option that best describes why you want to shut down your
computer.", IDC_STATIC, 39, 134, 190, 17
+ LTEXT "&Option:", IDC_STATIC, 39, 154, 80, 8
+ AUTOCHECKBOX "&Planned", IDC_REASON_PLANNED, 182, 154, 47, 10
+ COMBOBOX IDC_REASON_LIST, 39, 165, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_REASON_DESCRIPTION, 39, 184, 190, 27
+ LTEXT "&Comment:", IDC_STATIC, 39, 214, 80, 8
+ EDITTEXT IDC_REASON_COMMENT, 39, 224, 190, 35, ES_MULTILINE | WS_VISIBLE |
WS_TABSTOP
+ DEFPUSHBUTTON "Aceptar", IDOK, 150, 276, 55, 14, WS_GROUP
+ PUSHBUTTON "Cancelar", IDCANCEL, 211, 276, 55, 14
+
+ // DEFPUSHBUTTON "Aceptar", IDOK, 87, 276, 55, 14, WS_GROUP
+ // PUSHBUTTON "Cancelar", IDCANCEL, 150, 276, 55, 14
+ // PUSHBUTTON "&Ayuda", IDHELP, 211, 276, 55, 14
+END
+
IDD_LEGALNOTICE_DLG DIALOGEX 0, 0, 280, 200
STYLE DS_MODALFRAME | DS_SHELLFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION ""
diff --git a/dll/win32/msgina/lang/fr-FR.rc b/dll/win32/msgina/lang/fr-FR.rc
index 8dd4fe6eef..4001427e03 100644
--- a/dll/win32/msgina/lang/fr-FR.rc
+++ b/dll/win32/msgina/lang/fr-FR.rc
@@ -132,6 +132,33 @@ BEGIN
// PUSHBUTTON "&Aide", IDHELP, 204, 122, 55, 14
END
+IDD_SHUTDOWN_REASON DIALOGEX 0, 0, 275, 297
+STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION
+// STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER |
WS_CAPTION | WS_DLGFRAME | WS_POPUP
+CAPTION "Fermer ReactOS"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
+ ICON IDI_SHUTDOWN, IDI_SHUTDOWN, 9, 57, 21, 20, WS_GROUP
+ LTEXT "&Que voulez-vous que l'ordinateur fasse ?", IDC_STATIC, 39,
57, 167, 10
+ COMBOBOX IDC_SHUTDOWN_LIST, 39, 70, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 190, 27
+ GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 9, 122, 257, 146
+ LTEXT "Select the option that best describes why you want to shut down your
computer.", IDC_STATIC, 39, 134, 190, 17
+ LTEXT "&Option:", IDC_STATIC, 39, 154, 80, 8
+ AUTOCHECKBOX "&Planned", IDC_REASON_PLANNED, 182, 154, 47, 10
+ COMBOBOX IDC_REASON_LIST, 39, 165, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_REASON_DESCRIPTION, 39, 184, 190, 27
+ LTEXT "&Comment:", IDC_STATIC, 39, 214, 80, 8
+ EDITTEXT IDC_REASON_COMMENT, 39, 224, 190, 35, ES_MULTILINE | WS_VISIBLE |
WS_TABSTOP
+ DEFPUSHBUTTON "OK", IDOK, 150, 276, 55, 14, WS_GROUP
+ PUSHBUTTON "Annuler", IDCANCEL, 211, 276, 55, 14
+
+ // DEFPUSHBUTTON "OK", IDOK, 87, 276, 55, 14, WS_GROUP
+ // PUSHBUTTON "Annuler", IDCANCEL, 150, 276, 55, 14
+ // PUSHBUTTON "&Aide", IDHELP, 211, 276, 55, 14
+END
+
IDD_LEGALNOTICE_DLG DIALOGEX 0, 0, 280, 200
STYLE DS_MODALFRAME | DS_SHELLFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION ""
diff --git a/dll/win32/msgina/lang/he-IL.rc b/dll/win32/msgina/lang/he-IL.rc
index 0b9fda10c9..fabb061d1f 100644
--- a/dll/win32/msgina/lang/he-IL.rc
+++ b/dll/win32/msgina/lang/he-IL.rc
@@ -132,6 +132,33 @@ BEGIN
// PUSHBUTTON "&Help", IDHELP, 204, 122, 55, 14
END
+IDD_SHUTDOWN_REASON DIALOGEX 0, 0, 275, 297
+STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION
+// STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER |
WS_CAPTION | WS_DLGFRAME | WS_POPUP
+CAPTION "Shut Down ReactOS"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
+ ICON IDI_SHUTDOWN, IDI_SHUTDOWN, 9, 57, 21, 20, WS_GROUP
+ LTEXT "&What do you want the computer to do?", IDC_STATIC, 39, 57, 167,
10
+ COMBOBOX IDC_SHUTDOWN_LIST, 39, 70, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 190, 27
+ GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 9, 122, 257, 146
+ LTEXT "Select the option that best describes why you want to shut down your
computer.", IDC_STATIC, 39, 134, 190, 17
+ LTEXT "&Option:", IDC_STATIC, 39, 154, 80, 8
+ AUTOCHECKBOX "&Planned", IDC_REASON_PLANNED, 182, 154, 47, 10
+ COMBOBOX IDC_REASON_LIST, 39, 165, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_REASON_DESCRIPTION, 39, 184, 190, 27
+ LTEXT "&Comment:", IDC_STATIC, 39, 214, 80, 8
+ EDITTEXT IDC_REASON_COMMENT, 39, 224, 190, 35, ES_MULTILINE | WS_VISIBLE |
WS_TABSTOP
+ DEFPUSHBUTTON "OK", IDOK, 150, 276, 55, 14, WS_GROUP
+ PUSHBUTTON "Cancel", IDCANCEL, 211, 276, 55, 14
+
+ // DEFPUSHBUTTON "OK", IDOK, 87, 276, 55, 14, WS_GROUP
+ // PUSHBUTTON "Cancel", IDCANCEL, 150, 276, 55, 14
+ // PUSHBUTTON "&Help", IDHELP, 211, 276, 55, 14
+END
+
IDD_LEGALNOTICE_DLG DIALOGEX 0, 0, 280, 200
STYLE DS_MODALFRAME | DS_SHELLFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION ""
diff --git a/dll/win32/msgina/lang/id-ID.rc b/dll/win32/msgina/lang/id-ID.rc
index 1736489b33..994e5ac515 100644
--- a/dll/win32/msgina/lang/id-ID.rc
+++ b/dll/win32/msgina/lang/id-ID.rc
@@ -132,6 +132,33 @@ BEGIN
// PUSHBUTTON "&Help", IDHELP, 204, 122, 55, 14
END
+IDD_SHUTDOWN_REASON DIALOGEX 0, 0, 275, 297
+STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION
+// STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER |
WS_CAPTION | WS_DLGFRAME | WS_POPUP
+CAPTION "Shut Down ReactOS"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
+ ICON IDI_SHUTDOWN, IDI_SHUTDOWN, 9, 57, 21, 20, WS_GROUP
+ LTEXT "&What do you want the computer to do?", IDC_STATIC, 39, 57, 167,
10
+ COMBOBOX IDC_SHUTDOWN_LIST, 39, 70, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 190, 27
+ GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 9, 122, 257, 146
+ LTEXT "Select the option that best describes why you want to shut down your
computer.", IDC_STATIC, 39, 134, 190, 17
+ LTEXT "&Option:", IDC_STATIC, 39, 154, 80, 8
+ AUTOCHECKBOX "&Planned", IDC_REASON_PLANNED, 182, 154, 47, 10
+ COMBOBOX IDC_REASON_LIST, 39, 165, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_REASON_DESCRIPTION, 39, 184, 190, 27
+ LTEXT "&Comment:", IDC_STATIC, 39, 214, 80, 8
+ EDITTEXT IDC_REASON_COMMENT, 39, 224, 190, 35, ES_MULTILINE | WS_VISIBLE |
WS_TABSTOP
+ DEFPUSHBUTTON "OK", IDOK, 150, 276, 55, 14, WS_GROUP
+ PUSHBUTTON "Cancel", IDCANCEL, 211, 276, 55, 14
+
+ // DEFPUSHBUTTON "OK", IDOK, 87, 276, 55, 14, WS_GROUP
+ // PUSHBUTTON "Cancel", IDCANCEL, 150, 276, 55, 14
+ // PUSHBUTTON "&Help", IDHELP, 211, 276, 55, 14
+END
+
IDD_LEGALNOTICE_DLG DIALOGEX 0, 0, 280, 200
STYLE DS_MODALFRAME | DS_SHELLFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION ""
diff --git a/dll/win32/msgina/lang/it-IT.rc b/dll/win32/msgina/lang/it-IT.rc
index 6068cdd450..d669ff5d20 100644
--- a/dll/win32/msgina/lang/it-IT.rc
+++ b/dll/win32/msgina/lang/it-IT.rc
@@ -141,6 +141,33 @@ BEGIN
// PUSHBUTTON "&Aiuto", IDHELP, 204, 122, 55, 14
END
+IDD_SHUTDOWN_REASON DIALOGEX 0, 0, 275, 297
+STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION
+// STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER |
WS_CAPTION | WS_DLGFRAME | WS_POPUP
+CAPTION "Spegnimento di ReactOS"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
+ ICON IDI_SHUTDOWN, IDI_SHUTDOWN, 9, 57, 21, 20, WS_GROUP
+ LTEXT "&Cosa volete che faccia ReactOS?", IDC_STATIC, 39, 57, 167, 10
+ COMBOBOX IDC_SHUTDOWN_LIST, 39, 70, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 190, 27
+ GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 9, 122, 257, 146
+ LTEXT "Select the option that best describes why you want to shut down your
computer.", IDC_STATIC, 39, 134, 190, 17
+ LTEXT "&Option:", IDC_STATIC, 39, 154, 80, 8
+ AUTOCHECKBOX "&Planned", IDC_REASON_PLANNED, 182, 154, 47, 10
+ COMBOBOX IDC_REASON_LIST, 39, 165, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_REASON_DESCRIPTION, 39, 184, 190, 27
+ LTEXT "&Comment:", IDC_STATIC, 39, 214, 80, 8
+ EDITTEXT IDC_REASON_COMMENT, 39, 224, 190, 35, ES_MULTILINE | WS_VISIBLE |
WS_TABSTOP
+ DEFPUSHBUTTON "OK", IDOK, 150, 276, 55, 14, WS_GROUP
+ PUSHBUTTON "Annulla", IDCANCEL, 211, 276, 55, 14
+
+ // DEFPUSHBUTTON "OK", IDOK, 87, 276, 55, 14, WS_GROUP
+ // PUSHBUTTON "Annulla", IDCANCEL, 150, 276, 55, 14
+ // PUSHBUTTON "&Aiuto", IDHELP, 211, 276, 55, 14
+END
+
IDD_LEGALNOTICE_DLG DIALOGEX 0, 0, 280, 200
STYLE DS_MODALFRAME | DS_SHELLFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION ""
diff --git a/dll/win32/msgina/lang/ja-JP.rc b/dll/win32/msgina/lang/ja-JP.rc
index 279f56c68d..ec343314a8 100644
--- a/dll/win32/msgina/lang/ja-JP.rc
+++ b/dll/win32/msgina/lang/ja-JP.rc
@@ -132,6 +132,33 @@ BEGIN
// PUSHBUTTON "ヘルプ(&H)", IDHELP, 204, 122, 55, 14
END
+IDD_SHUTDOWN_REASON DIALOGEX 0, 0, 275, 297
+STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION
+// STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER |
WS_CAPTION | WS_DLGFRAME | WS_POPUP
+CAPTION "ReactOSのシャットダウン"
+FONT 9,"MS UI Gothic", 400, 0, 1
+BEGIN
+ CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
+ ICON IDI_SHUTDOWN, IDI_SHUTDOWN, 9, 57, 21, 20, WS_GROUP
+ LTEXT "&コンピュータの動作を選択してください", IDC_STATIC, 39, 57, 167, 10
+ COMBOBOX IDC_SHUTDOWN_LIST, 39, 70, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 190, 27
+ GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 9, 122, 257, 146
+ LTEXT "Select the option that best describes why you want to shut down your
computer.", IDC_STATIC, 39, 134, 190, 17
+ LTEXT "&Option:", IDC_STATIC, 39, 154, 80, 8
+ AUTOCHECKBOX "&Planned", IDC_REASON_PLANNED, 182, 154, 47, 10
+ COMBOBOX IDC_REASON_LIST, 39, 165, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_REASON_DESCRIPTION, 39, 184, 190, 27
+ LTEXT "&Comment:", IDC_STATIC, 39, 214, 80, 8
+ EDITTEXT IDC_REASON_COMMENT, 39, 224, 190, 35, ES_MULTILINE | WS_VISIBLE |
WS_TABSTOP
+ DEFPUSHBUTTON "OK", IDOK, 150, 276, 55, 14, WS_GROUP
+ PUSHBUTTON "キャンセル", IDCANCEL, 211, 276, 55, 14
+
+ // DEFPUSHBUTTON "OK", IDOK, 87, 276, 55, 14, WS_GROUP
+ // PUSHBUTTON "キャンセル", IDCANCEL, 150, 276, 55, 14
+ // PUSHBUTTON "ヘルプ(&H)", IDHELP, 211, 276, 55, 14
+END
+
IDD_LEGALNOTICE_DLG DIALOGEX 0, 0, 280, 200
STYLE DS_MODALFRAME | DS_SHELLFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION ""
diff --git a/dll/win32/msgina/lang/no-NO.rc b/dll/win32/msgina/lang/no-NO.rc
index aa5abc3565..387400b678 100644
--- a/dll/win32/msgina/lang/no-NO.rc
+++ b/dll/win32/msgina/lang/no-NO.rc
@@ -132,6 +132,33 @@ BEGIN
// PUSHBUTTON "&Hjelp", IDHELP, 204, 122, 55, 14
END
+IDD_SHUTDOWN_REASON DIALOGEX 0, 0, 275, 297
+STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION
+// STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER |
WS_CAPTION | WS_DLGFRAME | WS_POPUP
+CAPTION "Slå av ReactOS"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
+ ICON IDI_SHUTDOWN, IDI_SHUTDOWN, 9, 57, 21, 20, WS_GROUP
+ LTEXT "&Hva vil du at datamaskinen skal gjøre?", IDC_STATIC, 39, 57,
167, 10
+ COMBOBOX IDC_SHUTDOWN_LIST, 39, 70, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 190, 27
+ GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 9, 122, 257, 146
+ LTEXT "Select the option that best describes why you want to shut down your
computer.", IDC_STATIC, 39, 134, 190, 17
+ LTEXT "&Option:", IDC_STATIC, 39, 154, 80, 8
+ AUTOCHECKBOX "&Planned", IDC_REASON_PLANNED, 182, 154, 47, 10
+ COMBOBOX IDC_REASON_LIST, 39, 165, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_REASON_DESCRIPTION, 39, 184, 190, 27
+ LTEXT "&Comment:", IDC_STATIC, 39, 214, 80, 8
+ EDITTEXT IDC_REASON_COMMENT, 39, 224, 190, 35, ES_MULTILINE | WS_VISIBLE |
WS_TABSTOP
+ DEFPUSHBUTTON "OK", IDOK, 150, 276, 55, 14, WS_GROUP
+ PUSHBUTTON "Avbryt", IDCANCEL, 211, 276, 55, 14
+
+ // DEFPUSHBUTTON "OK", IDOK, 87, 276, 55, 14, WS_GROUP
+ // PUSHBUTTON "Avbryt", IDCANCEL, 150, 276, 55, 14
+ // PUSHBUTTON "&Hjelp", IDHELP, 211, 276, 55, 14
+END
+
IDD_LEGALNOTICE_DLG DIALOGEX 0, 0, 280, 200
STYLE DS_MODALFRAME | DS_SHELLFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION ""
diff --git a/dll/win32/msgina/lang/pl-PL.rc b/dll/win32/msgina/lang/pl-PL.rc
index a969f74c39..519ee034b7 100644
--- a/dll/win32/msgina/lang/pl-PL.rc
+++ b/dll/win32/msgina/lang/pl-PL.rc
@@ -142,6 +142,33 @@ BEGIN
// PUSHBUTTON "&Pomoc", IDHELP, 204, 122, 55, 14
END
+IDD_SHUTDOWN_REASON DIALOGEX 0, 0, 275, 297
+STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION
+// STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER |
WS_CAPTION | WS_DLGFRAME | WS_POPUP
+CAPTION "Zamknij ReactOS"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
+ ICON IDI_SHUTDOWN, IDI_SHUTDOWN, 9, 57, 21, 20, WS_GROUP
+ LTEXT "&Co chcesz, aby zrobił komputer?", IDC_STATIC, 39, 57, 167, 10
+ COMBOBOX IDC_SHUTDOWN_LIST, 39, 70, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 190, 27
+ GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 9, 122, 257, 146
+ LTEXT "Select the option that best describes why you want to shut down your
computer.", IDC_STATIC, 39, 134, 190, 17
+ LTEXT "&Option:", IDC_STATIC, 39, 154, 80, 8
+ AUTOCHECKBOX "&Planned", IDC_REASON_PLANNED, 182, 154, 47, 10
+ COMBOBOX IDC_REASON_LIST, 39, 165, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_REASON_DESCRIPTION, 39, 184, 190, 27
+ LTEXT "&Comment:", IDC_STATIC, 39, 214, 80, 8
+ EDITTEXT IDC_REASON_COMMENT, 39, 224, 190, 35, ES_MULTILINE | WS_VISIBLE |
WS_TABSTOP
+ DEFPUSHBUTTON "OK", IDOK, 150, 276, 55, 14, WS_GROUP
+ PUSHBUTTON "Anuluj", IDCANCEL, 211, 276, 55, 14
+
+ // DEFPUSHBUTTON "OK", IDOK, 87, 276, 55, 14, WS_GROUP
+ // PUSHBUTTON "Anuluj", IDCANCEL, 150, 276, 55, 14
+ // PUSHBUTTON "&Pomoc", IDHELP, 211, 276, 55, 14
+END
+
IDD_LEGALNOTICE_DLG DIALOGEX 0, 0, 280, 200
STYLE DS_MODALFRAME | DS_SHELLFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION ""
diff --git a/dll/win32/msgina/lang/ro-RO.rc b/dll/win32/msgina/lang/ro-RO.rc
index 9306d54aa1..19b6e4bd2a 100644
--- a/dll/win32/msgina/lang/ro-RO.rc
+++ b/dll/win32/msgina/lang/ro-RO.rc
@@ -141,6 +141,33 @@ BEGIN
// PUSHBUTTON "&Manual…", IDHELP, 204, 122, 55, 14
END
+IDD_SHUTDOWN_REASON DIALOGEX 0, 0, 275, 297
+STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION
+// STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER |
WS_CAPTION | WS_DLGFRAME | WS_POPUP
+CAPTION "Închidere ReactOS"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
+ ICON IDI_SHUTDOWN, IDI_SHUTDOWN, 9, 57, 21, 20, WS_GROUP
+ LTEXT "&Ce doriți să se întâmple?", IDC_STATIC, 39, 57, 167, 10
+ COMBOBOX IDC_SHUTDOWN_LIST, 39, 70, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 190, 27
+ GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 9, 122, 257, 146
+ LTEXT "Select the option that best describes why you want to shut down your
computer.", IDC_STATIC, 39, 134, 190, 17
+ LTEXT "&Option:", IDC_STATIC, 39, 154, 80, 8
+ AUTOCHECKBOX "&Planned", IDC_REASON_PLANNED, 182, 154, 47, 10
+ COMBOBOX IDC_REASON_LIST, 39, 165, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_REASON_DESCRIPTION, 39, 184, 190, 27
+ LTEXT "&Comment:", IDC_STATIC, 39, 214, 80, 8
+ EDITTEXT IDC_REASON_COMMENT, 39, 224, 190, 35, ES_MULTILINE | WS_VISIBLE |
WS_TABSTOP
+ DEFPUSHBUTTON "Con&firmă", IDOK, 150, 276, 55, 14, WS_GROUP
+ PUSHBUTTON "A&nulează", IDCANCEL, 211, 276, 55, 14
+
+ // DEFPUSHBUTTON "Con&firmă", IDOK, 87, 276, 55, 14, WS_GROUP
+ // PUSHBUTTON "A&nulează", IDCANCEL, 150, 276, 55, 14
+ // PUSHBUTTON "&Manual…", IDHELP, 211, 276, 55, 14
+END
+
IDD_LEGALNOTICE_DLG DIALOGEX 0, 0, 280, 200
STYLE DS_MODALFRAME | DS_SHELLFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION ""
diff --git a/dll/win32/msgina/lang/ru-RU.rc b/dll/win32/msgina/lang/ru-RU.rc
index 74e4353cf5..672091e845 100644
--- a/dll/win32/msgina/lang/ru-RU.rc
+++ b/dll/win32/msgina/lang/ru-RU.rc
@@ -134,6 +134,33 @@ BEGIN
// PUSHBUTTON "&Справка", IDHELP, 204, 122, 55, 14
END
+IDD_SHUTDOWN_REASON DIALOGEX 0, 0, 275, 297
+STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION
+// STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER |
WS_CAPTION | WS_DLGFRAME | WS_POPUP
+CAPTION "Завершение работы ReactOS"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
+ ICON IDI_SHUTDOWN, IDI_SHUTDOWN, 9, 57, 21, 20, WS_GROUP
+ LTEXT "&Выберите желаемое действие:", IDC_STATIC, 39, 57, 167, 10
+ COMBOBOX IDC_SHUTDOWN_LIST, 39, 70, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 190, 27
+ GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 9, 122, 257, 146
+ LTEXT "Select the option that best describes why you want to shut down your
computer.", IDC_STATIC, 39, 134, 190, 17
+ LTEXT "&Option:", IDC_STATIC, 39, 154, 80, 8
+ AUTOCHECKBOX "&Planned", IDC_REASON_PLANNED, 182, 154, 47, 10
+ COMBOBOX IDC_REASON_LIST, 39, 165, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_REASON_DESCRIPTION, 39, 184, 190, 27
+ LTEXT "&Comment:", IDC_STATIC, 39, 214, 80, 8
+ EDITTEXT IDC_REASON_COMMENT, 39, 224, 190, 35, ES_MULTILINE | WS_VISIBLE |
WS_TABSTOP
+ DEFPUSHBUTTON "OK", IDOK, 150, 276, 55, 14, WS_GROUP
+ PUSHBUTTON "Отмена", IDCANCEL, 211, 276, 55, 14
+
+ // DEFPUSHBUTTON "OK", IDOK, 87, 276, 55, 14, WS_GROUP
+ // PUSHBUTTON "Отмена", IDCANCEL, 150, 276, 55, 14
+ // PUSHBUTTON "&Справка", IDHELP, 211, 276, 55, 14
+END
+
IDD_LEGALNOTICE_DLG DIALOGEX 0, 0, 280, 200
STYLE DS_MODALFRAME | DS_SHELLFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION ""
diff --git a/dll/win32/msgina/lang/sk-SK.rc b/dll/win32/msgina/lang/sk-SK.rc
index f5b8c59954..2bcde2642e 100644
--- a/dll/win32/msgina/lang/sk-SK.rc
+++ b/dll/win32/msgina/lang/sk-SK.rc
@@ -137,6 +137,33 @@ BEGIN
// PUSHBUTTON "&Pomocník", IDHELP, 204, 122, 55, 14
END
+IDD_SHUTDOWN_REASON DIALOGEX 0, 0, 275, 297
+STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION
+// STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER |
WS_CAPTION | WS_DLGFRAME | WS_POPUP
+CAPTION "Vypnutie systému ReactOS"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
+ ICON IDI_SHUTDOWN, IDI_SHUTDOWN, 9, 57, 21, 20, WS_GROUP
+ LTEXT "&Čo chcete aby počítač urobil?", IDC_STATIC, 39, 57, 167, 10
+ COMBOBOX IDC_SHUTDOWN_LIST, 39, 70, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 190, 27
+ GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 9, 122, 257, 146
+ LTEXT "Select the option that best describes why you want to shut down your
computer.", IDC_STATIC, 39, 134, 190, 17
+ LTEXT "&Option:", IDC_STATIC, 39, 154, 80, 8
+ AUTOCHECKBOX "&Planned", IDC_REASON_PLANNED, 182, 154, 47, 10
+ COMBOBOX IDC_REASON_LIST, 39, 165, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_REASON_DESCRIPTION, 39, 184, 190, 27
+ LTEXT "&Comment:", IDC_STATIC, 39, 214, 80, 8
+ EDITTEXT IDC_REASON_COMMENT, 39, 224, 190, 35, ES_MULTILINE | WS_VISIBLE |
WS_TABSTOP
+ DEFPUSHBUTTON "OK", IDOK, 150, 276, 55, 14, WS_GROUP
+ PUSHBUTTON "Zrušiť", IDCANCEL, 211, 276, 55, 14
+
+ // DEFPUSHBUTTON "OK", IDOK, 87, 276, 55, 14, WS_GROUP
+ // PUSHBUTTON "Zrušiť", IDCANCEL, 150, 276, 55, 14
+ // PUSHBUTTON "&Pomocník", IDHELP, 211, 276, 55, 14
+END
+
IDD_LEGALNOTICE_DLG DIALOGEX 0, 0, 280, 200
STYLE DS_MODALFRAME | DS_SHELLFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION ""
diff --git a/dll/win32/msgina/lang/sq-AL.rc b/dll/win32/msgina/lang/sq-AL.rc
index 246f946e4c..246f31a847 100644
--- a/dll/win32/msgina/lang/sq-AL.rc
+++ b/dll/win32/msgina/lang/sq-AL.rc
@@ -136,6 +136,33 @@ BEGIN
// PUSHBUTTON "&Ndihmë", IDHELP, 204, 122, 55, 14
END
+IDD_SHUTDOWN_REASON DIALOGEX 0, 0, 275, 297
+STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION
+// STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER |
WS_CAPTION | WS_DLGFRAME | WS_POPUP
+CAPTION "Shut Down ReactOS"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
+ ICON IDI_SHUTDOWN, IDI_SHUTDOWN, 9, 57, 21, 20, WS_GROUP
+ LTEXT "&What do you want the computer to do?", IDC_STATIC, 39, 57, 167,
10
+ COMBOBOX IDC_SHUTDOWN_LIST, 39, 70, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 190, 27
+ GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 9, 122, 257, 146
+ LTEXT "Select the option that best describes why you want to shut down your
computer.", IDC_STATIC, 39, 134, 190, 17
+ LTEXT "&Option:", IDC_STATIC, 39, 154, 80, 8
+ AUTOCHECKBOX "&Planned", IDC_REASON_PLANNED, 182, 154, 47, 10
+ COMBOBOX IDC_REASON_LIST, 39, 165, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_REASON_DESCRIPTION, 39, 184, 190, 27
+ LTEXT "&Comment:", IDC_STATIC, 39, 214, 80, 8
+ EDITTEXT IDC_REASON_COMMENT, 39, 224, 190, 35, ES_MULTILINE | WS_VISIBLE |
WS_TABSTOP
+ DEFPUSHBUTTON "OK", IDOK, 150, 276, 55, 14, WS_GROUP
+ PUSHBUTTON "Anulo", IDCANCEL, 211, 276, 55, 14
+
+ // DEFPUSHBUTTON "OK", IDOK, 87, 276, 55, 14, WS_GROUP
+ // PUSHBUTTON "Anulo", IDCANCEL, 150, 276, 55, 14
+ // PUSHBUTTON "&Ndihmë", IDHELP, 211, 276, 55, 14
+END
+
IDD_LEGALNOTICE_DLG DIALOGEX 0, 0, 280, 200
STYLE DS_MODALFRAME | DS_SHELLFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION ""
diff --git a/dll/win32/msgina/lang/tr-TR.rc b/dll/win32/msgina/lang/tr-TR.rc
index 8e64071fd0..d8b18636d6 100644
--- a/dll/win32/msgina/lang/tr-TR.rc
+++ b/dll/win32/msgina/lang/tr-TR.rc
@@ -134,6 +134,33 @@ BEGIN
// PUSHBUTTON "&Yardım", IDHELP, 204, 122, 55, 14
END
+IDD_SHUTDOWN_REASON DIALOGEX 0, 0, 275, 297
+STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION
+// STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER |
WS_CAPTION | WS_DLGFRAME | WS_POPUP
+CAPTION "Bilgisayarı Kapat"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
+ ICON IDI_SHUTDOWN, IDI_SHUTDOWN, 9, 57, 21, 20, WS_GROUP
+ LTEXT "&Bilgisayarın ne yapmasını istiyorsunuz?", IDC_STATIC, 39, 57,
167, 10
+ COMBOBOX IDC_SHUTDOWN_LIST, 39, 70, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 190, 27
+ GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 9, 122, 257, 146
+ LTEXT "Select the option that best describes why you want to shut down your
computer.", IDC_STATIC, 39, 134, 190, 17
+ LTEXT "&Option:", IDC_STATIC, 39, 154, 80, 8
+ AUTOCHECKBOX "&Planned", IDC_REASON_PLANNED, 182, 154, 47, 10
+ COMBOBOX IDC_REASON_LIST, 39, 165, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_REASON_DESCRIPTION, 39, 184, 190, 27
+ LTEXT "&Comment:", IDC_STATIC, 39, 214, 80, 8
+ EDITTEXT IDC_REASON_COMMENT, 39, 224, 190, 35, ES_MULTILINE | WS_VISIBLE |
WS_TABSTOP
+ DEFPUSHBUTTON "Tamam", IDOK, 150, 276, 55, 14, WS_GROUP
+ PUSHBUTTON "İptal", IDCANCEL, 211, 276, 55, 14
+
+ // DEFPUSHBUTTON "Tamam", IDOK, 87, 276, 55, 14, WS_GROUP
+ // PUSHBUTTON "İptal", IDCANCEL, 150, 276, 55, 14
+ // PUSHBUTTON "&Yardım", IDHELP, 211, 276, 55, 14
+END
+
IDD_LEGALNOTICE_DLG DIALOGEX 0, 0, 280, 200
STYLE DS_MODALFRAME | DS_SHELLFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION ""
diff --git a/dll/win32/msgina/lang/uk-UA.rc b/dll/win32/msgina/lang/uk-UA.rc
index f4ba2ff702..5fbfc51a13 100644
--- a/dll/win32/msgina/lang/uk-UA.rc
+++ b/dll/win32/msgina/lang/uk-UA.rc
@@ -140,6 +140,33 @@ BEGIN
// PUSHBUTTON "&Довідка", IDHELP, 204, 122, 55, 14
END
+IDD_SHUTDOWN_REASON DIALOGEX 0, 0, 275, 297
+STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION
+// STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER |
WS_CAPTION | WS_DLGFRAME | WS_POPUP
+CAPTION "Завершення роботи ReactOS"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
+ ICON IDI_SHUTDOWN, IDI_SHUTDOWN, 9, 57, 21, 20, WS_GROUP
+ LTEXT "&Виберіть одну з таких можливостей?", IDC_STATIC, 39, 57, 167,
10
+ COMBOBOX IDC_SHUTDOWN_LIST, 39, 70, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 190, 27
+ GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 9, 122, 257, 146
+ LTEXT "Select the option that best describes why you want to shut down your
computer.", IDC_STATIC, 39, 134, 190, 17
+ LTEXT "&Option:", IDC_STATIC, 39, 154, 80, 8
+ AUTOCHECKBOX "&Planned", IDC_REASON_PLANNED, 182, 154, 47, 10
+ COMBOBOX IDC_REASON_LIST, 39, 165, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_REASON_DESCRIPTION, 39, 184, 190, 27
+ LTEXT "&Comment:", IDC_STATIC, 39, 214, 80, 8
+ EDITTEXT IDC_REASON_COMMENT, 39, 224, 190, 35, ES_MULTILINE | WS_VISIBLE |
WS_TABSTOP
+ DEFPUSHBUTTON "OK", IDOK, 150, 276, 55, 14, WS_GROUP
+ PUSHBUTTON "Скасувати", IDCANCEL, 211, 276, 55, 14
+
+ // DEFPUSHBUTTON "OK", IDOK, 87, 276, 55, 14, WS_GROUP
+ // PUSHBUTTON "Скасувати", IDCANCEL, 150, 276, 55, 14
+ // PUSHBUTTON "&Довідка", IDHELP, 211, 276, 55, 14
+END
+
IDD_LEGALNOTICE_DLG DIALOGEX 0, 0, 280, 200
STYLE DS_MODALFRAME | DS_SHELLFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION ""
diff --git a/dll/win32/msgina/lang/zh-CN.rc b/dll/win32/msgina/lang/zh-CN.rc
index c7c5f19402..06ff044c0d 100644
--- a/dll/win32/msgina/lang/zh-CN.rc
+++ b/dll/win32/msgina/lang/zh-CN.rc
@@ -135,6 +135,33 @@ BEGIN
// PUSHBUTTON "帮助(&H)", IDHELP, 204, 122, 55, 14
END
+IDD_SHUTDOWN_REASON DIALOGEX 0, 0, 275, 297
+STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION
+// STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER |
WS_CAPTION | WS_DLGFRAME | WS_POPUP
+CAPTION "关闭 ReactOS"
+FONT 9, "宋体"
+BEGIN
+ CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
+ ICON IDI_SHUTDOWN, IDI_SHUTDOWN, 9, 57, 21, 20, WS_GROUP
+ LTEXT "你想让计算机做什么?(&W)", IDC_STATIC, 39, 57, 167, 10
+ COMBOBOX IDC_SHUTDOWN_LIST, 39, 70, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 190, 27
+ GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 9, 122, 257, 146
+ LTEXT "Select the option that best describes why you want to shut down your
computer.", IDC_STATIC, 39, 134, 190, 17
+ LTEXT "&Option:", IDC_STATIC, 39, 154, 80, 8
+ AUTOCHECKBOX "&Planned", IDC_REASON_PLANNED, 182, 154, 47, 10
+ COMBOBOX IDC_REASON_LIST, 39, 165, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_REASON_DESCRIPTION, 39, 184, 190, 27
+ LTEXT "&Comment:", IDC_STATIC, 39, 214, 80, 8
+ EDITTEXT IDC_REASON_COMMENT, 39, 224, 190, 35, ES_MULTILINE | WS_VISIBLE |
WS_TABSTOP
+ DEFPUSHBUTTON "确定", IDOK, 150, 276, 55, 14, WS_GROUP
+ PUSHBUTTON "取消", IDCANCEL, 211, 276, 55, 14
+
+ // DEFPUSHBUTTON "确定", IDOK, 87, 276, 55, 14, WS_GROUP
+ // PUSHBUTTON "取消", IDCANCEL, 150, 276, 55, 14
+ // PUSHBUTTON "帮助(&H)", IDHELP, 211, 276, 55, 14
+END
+
IDD_LEGALNOTICE_DLG DIALOGEX 0, 0, 280, 200
STYLE DS_MODALFRAME | DS_SHELLFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION ""
diff --git a/dll/win32/msgina/lang/zh-TW.rc b/dll/win32/msgina/lang/zh-TW.rc
index fd9aeab68b..737345ec51 100644
--- a/dll/win32/msgina/lang/zh-TW.rc
+++ b/dll/win32/msgina/lang/zh-TW.rc
@@ -134,6 +134,33 @@ BEGIN
// PUSHBUTTON "幫助(&H)", IDHELP, 204, 122, 55, 14
END
+IDD_SHUTDOWN_REASON DIALOGEX 0, 0, 275, 297
+STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION
+// STYLE NOT WS_VISIBLE | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_BORDER |
WS_CAPTION | WS_DLGFRAME | WS_POPUP
+CAPTION "關閉 ReactOS"
+FONT 9, "新細明體"
+BEGIN
+ CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54
+ ICON IDI_SHUTDOWN, IDI_SHUTDOWN, 9, 57, 21, 20, WS_GROUP
+ LTEXT "你想讓計算機做什麼?(&W)", IDC_STATIC, 39, 57, 167, 10
+ COMBOBOX IDC_SHUTDOWN_LIST, 39, 70, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_SHUTDOWN_DESCRIPTION, 39, 93, 190, 27
+ GROUPBOX "Shutdown Event Tracker", IDC_STATIC, 9, 122, 257, 146
+ LTEXT "Select the option that best describes why you want to shut down your
computer.", IDC_STATIC, 39, 134, 190, 17
+ LTEXT "&Option:", IDC_STATIC, 39, 154, 80, 8
+ AUTOCHECKBOX "&Planned", IDC_REASON_PLANNED, 182, 154, 47, 10
+ COMBOBOX IDC_REASON_LIST, 39, 165, 190, 210, CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
+ LTEXT "", IDC_REASON_DESCRIPTION, 39, 184, 190, 27
+ LTEXT "&Comment:", IDC_STATIC, 39, 214, 80, 8
+ EDITTEXT IDC_REASON_COMMENT, 39, 224, 190, 35, ES_MULTILINE | WS_VISIBLE |
WS_TABSTOP
+ DEFPUSHBUTTON "確定", IDOK, 150, 276, 55, 14, WS_GROUP
+ PUSHBUTTON "取消", IDCANCEL, 211, 276, 55, 14
+
+ // DEFPUSHBUTTON "確定", IDOK, 87, 276, 55, 14, WS_GROUP
+ // PUSHBUTTON "取消", IDCANCEL, 150, 276, 55, 14
+ // PUSHBUTTON "幫助(&H)", IDHELP, 211, 276, 55, 14
+END
+
IDD_LEGALNOTICE_DLG DIALOGEX 0, 0, 280, 200
STYLE DS_MODALFRAME | DS_SHELLFONT | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION ""
diff --git a/dll/win32/msgina/resource.h b/dll/win32/msgina/resource.h
index 61de45d2a9..ffee4c59d1 100644
--- a/dll/win32/msgina/resource.h
+++ b/dll/win32/msgina/resource.h
@@ -9,6 +9,7 @@
#define IDD_UNLOCK_DLG 105
#define IDD_SHUTDOWN_DLG 108
#define IDD_SHUTDOWN_FANCY 109
+#define IDD_SHUTDOWN_REASON 110
#define IDC_LOGOFF 1001
#define IDC_USERNAME 1002
@@ -25,6 +26,10 @@
#define IDC_LOGON_TO 1013
#define IDC_SHUTDOWN_LIST 1014
#define IDC_SHUTDOWN_DESCRIPTION 1015
+#define IDC_REASON_PLANNED 1016
+#define IDC_REASON_LIST 1017
+#define IDC_REASON_DESCRIPTION 1018
+#define IDC_REASON_COMMENT 1019
#define IDD_CHANGE_PASSWORD 106
#define IDC_CHANGEPWD_USERNAME 1013
diff --git a/dll/win32/msgina/shutdown.c b/dll/win32/msgina/shutdown.c
index 11390e5f88..ca2528a7bb 100644
--- a/dll/win32/msgina/shutdown.c
+++ b/dll/win32/msgina/shutdown.c
@@ -26,8 +26,71 @@ typedef struct _SHUTDOWN_DLG_CONTEXT
PGINA_CONTEXT pgContext;
DWORD ShutdownOptions;
BOOL bCloseDlg;
+ BOOL bReasonUI;
} SHUTDOWN_DLG_CONTEXT, *PSHUTDOWN_DLG_CONTEXT;
+
+static
+BOOL
+GetShutdownReasonUI(VOID)
+{
+ OSVERSIONINFOEX VersionInfo;
+ DWORD dwValue, dwSize;
+ HKEY hKey;
+ LONG lRet;
+
+ /* Query the policy value */
+ lRet = RegOpenKeyExW(HKEY_LOCAL_MACHINE,
+ L"Software\\Policies\\Microsoft\\Windows
NT\\Reliability",
+ 0,
+ KEY_QUERY_VALUE,
+ &hKey);
+ if (lRet == ERROR_SUCCESS)
+ {
+ dwValue = 0;
+ dwSize = sizeof(dwValue);
+ RegQueryValueExW(hKey,
+ L"ShutdownReasonUI",
+ NULL,
+ NULL,
+ (LPBYTE)&dwValue,
+ &dwSize);
+ RegCloseKey(hKey);
+
+ return (dwValue != 0) ? TRUE : FALSE;
+ }
+
+ /* Query the machine value */
+ lRet = RegOpenKeyExW(HKEY_LOCAL_MACHINE,
+
L"Software\\Microsoft\\Windows\\CurrentVersion\\Reliability",
+ 0,
+ KEY_QUERY_VALUE,
+ &hKey);
+ if (lRet == ERROR_SUCCESS)
+ {
+ dwValue = 0;
+ dwSize = sizeof(dwValue);
+ RegQueryValueExW(hKey,
+ L"ShutdownReasonUI",
+ NULL,
+ NULL,
+ (LPBYTE)&dwValue,
+ &dwSize);
+ RegCloseKey(hKey);
+
+ return (dwValue != 0) ? TRUE : FALSE;
+ }
+
+ /* Return the default value */
+ VersionInfo.dwOSVersionInfoSize = sizeof(VersionInfo);
+ if (!GetVersionEx((POSVERSIONINFO)&VersionInfo))
+ return FALSE;
+
+ return FALSE;
+// return (VersionInfo.wProductType == VER_NT_WORKSTATION) ? FALSE : TRUE;
+}
+
+
DWORD
LoadShutdownSelState(VOID)
{
@@ -427,12 +490,13 @@ ShutdownDialog(
Context.pgContext = pgContext;
Context.ShutdownOptions = ShutdownOptions;
Context.bCloseDlg = FALSE;
+ Context.bReasonUI = GetShutdownReasonUI();
if (pgContext->hWlx && pgContext->pWlxFuncs)
{
ret = pgContext->pWlxFuncs->WlxDialogBoxParam(pgContext->hWlx,
pgContext->hDllInstance,
-
MAKEINTRESOURCEW(IDD_SHUTDOWN_DLG),
+ MAKEINTRESOURCEW(Context.bReasonUI
? IDD_SHUTDOWN_REASON : IDD_SHUTDOWN_DLG),
hwndDlg,
ShutdownDialogProc,
(LPARAM)&Context);
@@ -440,7 +504,7 @@ ShutdownDialog(
else
{
ret = DialogBoxParamW(pgContext->hDllInstance,
- MAKEINTRESOURCEW(IDD_SHUTDOWN_DLG),
+ MAKEINTRESOURCEW(Context.bReasonUI ? IDD_SHUTDOWN_REASON :
IDD_SHUTDOWN_DLG),
hwndDlg,
ShutdownDialogProc,
(LPARAM)&Context);