Fix vertical edge mode problem

Fix the problem that edge is still displayed after disabling edge mode.
This commit is contained in:
Don HO 2020-04-16 03:25:57 +02:00
parent 8a37faa704
commit 905feb8dd8
No known key found for this signature in database
GPG Key ID: 6C429F1D8D84F46E
2 changed files with 2 additions and 2 deletions

View File

@ -820,7 +820,7 @@ INT_PTR CALLBACK MarginsDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM lPa
::SendDlgItemMessage(_hSelf, IDC_RADIO_BGMODE, BM_SETCHECK, FALSE, 0); ::SendDlgItemMessage(_hSelf, IDC_RADIO_BGMODE, BM_SETCHECK, FALSE, 0);
::SendDlgItemMessage(_hSelf, IDC_RADIO_MULTILNMODE, BM_SETCHECK, FALSE, 0); ::SendDlgItemMessage(_hSelf, IDC_RADIO_MULTILNMODE, BM_SETCHECK, FALSE, 0);
svp._edgeMode = EDGE_NONE; svp._edgeMode = EDGE_NONE;
modeMsg = IDM_VIEW_EDGENONE; modeMsg = NPPM_INTERNAL_EDGENONE;
} }
::EnableWindow(::GetDlgItem(_hSelf, IDC_RADIO_LNMODE), isChecked); ::EnableWindow(::GetDlgItem(_hSelf, IDC_RADIO_LNMODE), isChecked);
::EnableWindow(::GetDlgItem(_hSelf, IDC_RADIO_BGMODE), isChecked); ::EnableWindow(::GetDlgItem(_hSelf, IDC_RADIO_BGMODE), isChecked);

View File

@ -290,7 +290,7 @@
#define IDM_VIEW_ALWAYSONTOP (IDM_VIEW + 34) #define IDM_VIEW_ALWAYSONTOP (IDM_VIEW + 34)
#define IDM_VIEW_SYNSCROLLV (IDM_VIEW + 35) #define IDM_VIEW_SYNSCROLLV (IDM_VIEW + 35)
#define IDM_VIEW_SYNSCROLLH (IDM_VIEW + 36) #define IDM_VIEW_SYNSCROLLH (IDM_VIEW + 36)
#define IDM_VIEW_EDGENONE (IDM_VIEW + 37) //#define IDM_VIEW_EDGENONE (IDM_VIEW + 37)
#define IDM_VIEW_DRAWTABBAR_CLOSEBOTTUN (IDM_VIEW + 38) #define IDM_VIEW_DRAWTABBAR_CLOSEBOTTUN (IDM_VIEW + 38)
#define IDM_VIEW_DRAWTABBAR_DBCLK2CLOSE (IDM_VIEW + 39) #define IDM_VIEW_DRAWTABBAR_DBCLK2CLOSE (IDM_VIEW + 39)
#define IDM_VIEW_REFRESHTABAR (IDM_VIEW + 40) #define IDM_VIEW_REFRESHTABAR (IDM_VIEW + 40)