[COMCTL32] Fix Status Bar Updating (#6696)

This fixes CORE-19497 'Regression, part of the statusbar with the sizegrip is not redrawn properly'

The regression was introduced / unhidden by 0.4.15-dev-5617-g 7866eb2886

Author of the patch: JIRA-user: I_Kill_Bugs
turned into PR by @Doug-Lyons
Thank you both!

KVM: https://reactos.org/testman/compare.php?ids=94433,94435
VBox: Builder Broken atm unfortunately
This commit is contained in:
Doug Lyons 2024-04-05 16:30:09 -05:00 committed by GitHub
parent b6987d1463
commit a771729e69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1120,6 +1120,10 @@ STATUSBAR_WMSize (STATUS_INFO *infoPtr, WORD flags)
y = parent_rect.bottom - infoPtr->height;
MoveWindow (infoPtr->Self, x, y, width, infoPtr->height, TRUE);
STATUSBAR_SetPartBounds (infoPtr);
#ifdef __REACTOS__
parent_rect = infoPtr->parts[infoPtr->numParts - 1].bound;
InvalidateRect(infoPtr->Self, &parent_rect, TRUE);
#endif
return TRUE;
}