mirror of
https://github.com/narzoul/DDrawCompat
synced 2024-12-30 08:55:36 +01:00
Fixed highlighting stuck on scroll bar shaft after releasing mouse button
This commit is contained in:
parent
5911951d08
commit
7e9ceb3c9c
@ -182,6 +182,17 @@ namespace
|
|||||||
// Disable VirtualizeDesktopPainting shim
|
// Disable VirtualizeDesktopPainting shim
|
||||||
return 0;
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user