+ add: menu to clear saved default position

This commit is contained in:
Rainer Kottenhoff 2018-11-03 00:09:07 +01:00
parent 58768ac657
commit aa65cbd2f5
16 changed files with 13 additions and 7 deletions

View File

@ -1 +1 @@
1335
1339

View File

@ -337,8 +337,9 @@
#define CMD_FULLSCRWINPOS 20050
#define CMD_DEFAULTWINPOS 20051
#define CMD_SAVEASDEFWINPOS 20052
//#define CMD_LEFT 20053
//#define CMD_RIGHT 20054
#define CMD_CLEARSAVEDWINPOS 20053
//#define CMD_LEFT 20054
//#define CMD_RIGHT 20055
#define IDM_FILE_NEW 40000
#define IDM_FILE_OPEN 40001

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
RC
RC_NewMenu

View File

@ -3,7 +3,7 @@
<assemblyIdentity
name="Notepad3"
processorArchitecture="*"
version="5.18.1030.1334"
version="5.18.1103.1339"
type="win32"
/>
<description>Notepad3 RC_NewMenu</description>

View File

@ -5560,6 +5560,11 @@ LRESULT MsgCommand(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM lParam)
}
break;
case CMD_CLEARSAVEDWINPOS:
s_DefWinInfo = _InitDefaultWndPos(2);
IniSetString(L"Settings2", L"DefaultWindowPosition", NULL);
break;
case CMD_OPENINIFILE:
if (StringCchLenW(Globals.IniFile,COUNTOF(Globals.IniFile))) {
SaveSettings(false);

View File

@ -6,8 +6,8 @@
#define APPNAME "Notepad3"
#define VERSION_MAJOR 5
#define VERSION_MINOR 18
#define VERSION_REV 1030
#define VERSION_BUILD 1334
#define VERSION_REV 1103
#define VERSION_BUILD 1339
#define SCINTILLA_VER 412
#define ONIGMO_REGEX_VER 6.1.3
#define VERSION_PATCH " RC_NewMenu"