Nikolay Sivov (@nsivov) commented about dlls/comctl32/tab.c:
bNeedPaint = TRUE;
- }
- if (infoPtr->uVItemPadding_s != HIWORD(lParam))
- {
infoPtr->uVItemPadding_s = HIWORD(lParam);
bNeedPaint = TRUE;
- }
- if (bNeedPaint)
- {
TAB_SetItemBounds(infoPtr);
RedrawWindow(infoPtr->hwnd, NULL, NULL, RDW_ERASE | RDW_INVALIDATE | RDW_UPDATENOW);
- }
- return 0;
}
Does it make sense to separate SetPadding to its own commit? It's a dedicate message, so it's not obvious why it should also change, including force repaint part.