Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/status.c:
width = parent_rect.right - parent_rect.left; x = parent_rect.left; y = parent_rect.bottom - infoPtr->height;
- MoveWindow (infoPtr->Self, x, y, width, infoPtr->height, TRUE);
- MoveWindow (infoPtr->Self, x, y, width, infoPtr->height, FALSE);
- if(y != infoPtr->y)
InvalidateRect(infoPtr->Self, NULL, FALSE);
- else
- {
update_rect.left = min(infoPtr->width-HORZ_GAP, width);
update_rect.right = max(width, infoPtr->width-HORZ_GAP);
I think you should use infoPtr->horizontalGap instead. HORZ_GAP is only the default for infoPtr->horizontalGap.