mirror of
https://github.com/narzoul/DDrawCompat
synced 2024-12-30 08:55:36 +01:00
Added invalidation of child windows on scroll events
Fixed in issue with adjusting the game speed slider in StarCraft's Battle.net interface. It was resulting in a WM_HSCROLL message erasing the parent window background without also redrawing the child windows (labels) on it.
This commit is contained in:
parent
fa69ef4a17
commit
c0fd60207a
@ -249,7 +249,7 @@ namespace
|
|||||||
|
|
||||||
void updateScrolledWindow(HWND hwnd)
|
void updateScrolledWindow(HWND hwnd)
|
||||||
{
|
{
|
||||||
RedrawWindow(hwnd, nullptr, nullptr, RDW_ERASE | RDW_FRAME | RDW_INVALIDATE);
|
RedrawWindow(hwnd, nullptr, nullptr, RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user