mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-11 21:03:05 +08:00
+ add: menu to clear saved default position
This commit is contained in:
parent
58768ac657
commit
aa65cbd2f5
@ -1 +1 @@
|
||||
1335
|
||||
1339
|
||||
|
||||
@ -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.
@ -1 +1 @@
|
||||
RC
|
||||
RC_NewMenu
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user