diff --git a/DDrawCompat/Gdi/PaintHandlers.cpp b/DDrawCompat/Gdi/PaintHandlers.cpp index c9e5034..44cd9e3 100644 --- a/DDrawCompat/Gdi/PaintHandlers.cpp +++ b/DDrawCompat/Gdi/PaintHandlers.cpp @@ -182,6 +182,17 @@ namespace // Disable VirtualizeDesktopPainting shim return 0; } + return origDefWindowProc(hwnd, msg, wParam, lParam); + } + + case WM_NCLBUTTONDOWN: + { + LRESULT result = origDefWindowProc(hwnd, msg, wParam, lParam); + if (wParam == HTHSCROLL || wParam == HTVSCROLL) + { + onNcPaint(hwnd, origDefWindowProc); + } + return result; } }