From cc5346431042b2ca2afb95f7f1a970cdd052d0f8 Mon Sep 17 00:00:00 2001 From: RaiKoHoff Date: Wed, 2 Sep 2020 17:39:41 +0200 Subject: [PATCH] no message --- src/Notepad3.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Notepad3.c b/src/Notepad3.c index a6c3508f9..2eea0e748 100644 --- a/src/Notepad3.c +++ b/src/Notepad3.c @@ -2374,6 +2374,7 @@ void CreateBars(HWND hwnd, HINSTANCE hInstance) 0,0,0,0,hwnd,(HMENU)IDC_TOOLBAR,hInstance,NULL); //~InitWindowCommon(Globals.hwndToolbar, true); ~ SetWindowLayoutRTL() no correct behavior + //~SetWindowTheme(Globals.hwndToolbar, L"", L""); // you cannot change a toolbar's color when a visual style is active SetExplorerTheme(Globals.hwndToolbar); // @@@ §§§ @@ -2383,7 +2384,7 @@ void CreateBars(HWND hwnd, HINSTANCE hInstance) // @@@ §§§ no effect: //HDC const hdcTB = GetWindowDC(Globals.hwndToolbar); - ////~SelectObject(hdcTB, s_hbrWndDarkBackground); + //SelectObject(hdcTB, s_hbrWndDarkBackground); //SetBkColor(hdcTB, Globals.rgbDarkBkgColor); //ReleaseDC(Globals.hwndToolbar, hdcTB);