From 5de5ccb97e2ee2de00d9d0fca9ea7067e71a2110 Mon Sep 17 00:00:00 2001 From: henrypp Date: Thu, 3 Jan 2019 19:19:43 +0600 Subject: [PATCH] fix redraw --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index fc81c909..92d010f7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -9974,7 +9974,7 @@ INT_PTR CALLBACK DlgProc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) _app_listviewresize (hwnd, IDC_LISTVIEW); _app_refreshstatus (hwnd); - InvalidateRect (hwnd, nullptr, TRUE); + RedrawWindow (hwnd, nullptr, nullptr, RDW_NOFRAME | RDW_ERASE | RDW_INVALIDATE | RDW_ALLCHILDREN); break; }