https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8b35e46903663b94f47a4…
commit 8b35e46903663b94f47a48195d1f65ea53c71bd7
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Tue Apr 4 22:07:55 2023 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Tue Apr 4 22:14:14 2023 +0200
[SHIMGVW] Update the display window when selecting the Previous/Next picture.
(#5223)
Patch by KRosUser.
CORE-18905
---
dll/win32/shimgvw/shimgvw.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dll/win32/shimgvw/shimgvw.c b/dll/win32/shimgvw/shimgvw.c
index f8ff14e3f8b..47a34662826 100644
--- a/dll/win32/shimgvw/shimgvw.c
+++ b/dll/win32/shimgvw/shimgvw.c
@@ -537,6 +537,9 @@ pLoadImageFromNode(SHIMGVW_FILENODE *node, HWND hwnd)
}
EnableToolBarButtons(image != NULL);
+
+ /* Redraw the display window */
+ InvalidateRect(hwnd, NULL, FALSE);
}
static SHIMGVW_FILENODE*