diff options
author | George Hazan <george.hazan@gmail.com> | 2024-02-09 11:56:06 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-02-09 11:56:06 +0300 |
commit | 96698b21ce1ad077e3712bf62baab63cf8194f8f (patch) | |
tree | d7636ab827b0a34ec8fd2726b8465310c609df89 | |
parent | 1d6d39b6d6772348ba8a18fad7676b9e10071df8 (diff) |
fixes #4181 (NewStory: в режиме редактирования не работает прокрутка)
-rw-r--r-- | plugins/NewStory/src/history_control.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index 465918ce81..25779b0e7d 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -240,7 +240,7 @@ void NewstoryListData::BeginEditItem() wszText.Replace(L"\r\n", L"\n"); wszText.Replace(L"\n", L"\r\n"); - uint32_t dwStyle = WS_CHILD | WS_BORDER | ES_MULTILINE | ES_AUTOVSCROLL; + uint32_t dwStyle = WS_CHILD | WS_BORDER | WS_VSCROLL | ES_MULTILINE | ES_AUTOVSCROLL; hwndEditBox = CreateWindow(L"EDIT", wszText, dwStyle, 0, top, rc.right - rc.left, itemHeight, m_hwnd, NULL, g_plugin.getInst(), NULL); mir_subclassWindow(hwndEditBox, HistoryEditWndProc); SendMessage(hwndEditBox, WM_SETFONT, (WPARAM)g_fontTable[fontid].hfnt, 0); |