From 80edfc64c0934a2316182735a11d06053337ba44 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 17 Aug 2023 18:11:00 +0300 Subject: =?UTF-8?q?fixes=20#3643=20(NewStory:=20=D0=BC=D0=BE=D0=B6=D0=BD?= =?UTF-8?q?=D0=BE=20=D0=BB=D0=B8=20=D0=BF=D1=80=D0=B8=20=D1=80=D0=B5=D0=B4?= =?UTF-8?q?=D0=B0=D0=BA=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D0=B8=20=D0=BD=D0=B5=20=D0=BC=D0=B5=D0=BD=D1=8F=D1=82=D1=8C=20?= =?UTF-8?q?=D1=86=D0=B2=D0=B5=D1=82=20=D1=84=D0=BE=D0=BD=D0=B0=3F)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/NewStory/src/history_control.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'plugins/NewStory/src/history_control.cpp') diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index 572c318a6b..fc5adebd39 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -1102,6 +1102,14 @@ LRESULT CALLBACK NewstoryListWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM } break; + case WM_CTLCOLORSTATIC: + case WM_CTLCOLOREDIT: + if (lParam == INT_PTR(data->hwndEditBox)) { + SetBkColor((HDC)wParam, g_colorTable[COLOR_SELBACK].cl); + return (LRESULT)g_plugin.hBackBrush; + } + break; + case WM_DESTROY: WindowList_Add(g_hNewstoryLogs, hwnd); delete data; -- cgit v1.2.3