aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-23 13:57:33 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-23 13:57:33 +0200
commit2958c57db73b5af03af36598c9dffc9123a0a003 (patch)
tree239e0b9cd68338693e521fad9d9a484570148721
parent97f0a27ab0cbf605ba789be553c0df3bb44a6787 (diff)
downloadEpisodeBrowser-2958c57db73b5af03af36598c9dffc9123a0a003.tar.gz
Prevent scrollbar from flickering.
-rw-r--r--c/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/main.cpp b/c/main.cpp
index 421e0ca..72d405b 100644
--- a/c/main.cpp
+++ b/c/main.cpp
@@ -122,7 +122,7 @@ int WINAPI WinMain(const HINSTANCE hInstance, const HINSTANCE, char* const, cons
0,
TEXT("Episode Browser"),
TEXT("Episode Browser"),
- WS_OVERLAPPEDWINDOW,
+ WS_OVERLAPPEDWINDOW|WS_CLIPCHILDREN,
CW_USEDEFAULT, CW_USEDEFAULT, 0, 0,
(HWND)NULL, (HMENU)NULL, hInstance, (void*)NULL));
require(UnhookWindowsHookEx(hHook));