From e89c5b9dfb5843c0935c385341e363ec2ed43be0 Mon Sep 17 00:00:00 2001 From: Don Ho Date: Sat, 27 Jul 2013 11:47:30 +0000 Subject: [PATCH] [UPDATE] Add a warning text of restarting Notepad++ for multi-instant mode. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1086 f5eea248-9336-0410-98b8-ebc06183d4e3 --- PowerEditor/src/WinControls/Preference/preference.rc | 10 ++++++---- PowerEditor/src/WinControls/Preference/preference_rc.h | 1 + 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/PowerEditor/src/WinControls/Preference/preference.rc b/PowerEditor/src/WinControls/Preference/preference.rc index 87c631cc..18fd85be 100644 --- a/PowerEditor/src/WinControls/Preference/preference.rc +++ b/PowerEditor/src/WinControls/Preference/preference.rc @@ -321,11 +321,13 @@ IDD_PREFERENCE_MULTIINSTANCE_BOX DIALOGEX 0, 0, 455, 185 STYLE DS_SETFONT | DS_FIXEDSYS | DS_CONTROL | WS_CHILD FONT 8, "MS Shell Dlg", 0, 0, 0x1 BEGIN - GROUPBOX "Multi-instance settings",IDC_MULTIINST_GB_STATIC,89,44,268,89,BS_CENTER + GROUPBOX "Multi-instance settings",IDC_MULTIINST_GB_STATIC,89,44,268,98,BS_CENTER CONTROL "Open session in a new instance of Notepad++",IDC_SESSIONININST_RADIO, - "Button",BS_AUTORADIOBUTTON,123,68,226,10 - CONTROL "Always in multi-instance mode",IDC_MULTIINST_RADIO,"Button",BS_AUTORADIOBUTTON,123,87,218,10 - CONTROL "Default (mono-instance)",IDC_MONOINST_RADIO,"Button",BS_AUTORADIOBUTTON,123,106,196,10 + "Button",BS_AUTORADIOBUTTON,122,61,226,10 + CONTROL "Always in multi-instance mode",IDC_MULTIINST_RADIO, + "Button",BS_AUTORADIOBUTTON,122,80,218,10 + CONTROL "Default (mono-instance)",IDC_MONOINST_RADIO,"Button",BS_AUTORADIOBUTTON,122,99,196,10 + LTEXT "* The modification of this setting needs to restart Notepad++",IDD_STATIC_RESTARTNOTE,110,124,239,8 END IDD_PREFERENCE_DELIMITERSETTINGS_BOX DIALOGEX 0, 0, 455, 185 diff --git a/PowerEditor/src/WinControls/Preference/preference_rc.h b/PowerEditor/src/WinControls/Preference/preference_rc.h index 4800214b..56ce9132 100644 --- a/PowerEditor/src/WinControls/Preference/preference_rc.h +++ b/PowerEditor/src/WinControls/Preference/preference_rc.h @@ -67,6 +67,7 @@ #define IDC_SESSIONININST_RADIO (IDD_PREFERENCE_MULTIINSTANCE_BOX + 2) #define IDC_MULTIINST_RADIO (IDD_PREFERENCE_MULTIINSTANCE_BOX + 3) #define IDC_MONOINST_RADIO (IDD_PREFERENCE_MULTIINSTANCE_BOX + 4) + #define IDD_STATIC_RESTARTNOTE (IDD_PREFERENCE_MULTIINSTANCE_BOX + 5) #define IDD_PREFERENCE_MARGEIN_BOX 6200 //(IDD_PREFERENCE_BOX + 200) #define IDC_FMS_GB_STATIC (IDD_PREFERENCE_MARGEIN_BOX + 1)