From 9140d5bca08ac005ecc837d619dc3fca0d5b0082 Mon Sep 17 00:00:00 2001 From: michaelangel007 Date: Sat, 26 Jul 2014 15:42:55 -0700 Subject: [PATCH] #199 Update confirm reboot dialog box with instructions how to disable the message in the future. --- source/Frame.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source/Frame.cpp b/source/Frame.cpp index bcdb5fc4..43a3e00f 100644 --- a/source/Frame.cpp +++ b/source/Frame.cpp @@ -1685,7 +1685,14 @@ static bool ConfirmReboot(bool bFromButtonUI) if (!bFromButtonUI || !g_bConfirmReset) return true; - int res = MessageBox(g_hFrameWindow, "Are you sure you want to reboot?\n(All data will be lost!)", "Reboot", MB_ICONWARNING|MB_YESNO); + int res = MessageBox(g_hFrameWindow, + "Are you sure you want to reboot?\n" + "(All data will be lost!)\n" + "\n" + "You can skip this dialog from displaying by unchecking:\n" + " [ ] Confirm reset\n" + "in the Configuration dialog.\n" + , "Reboot", MB_ICONWARNING|MB_YESNO); return res == IDYES; }