comctl32/rebar: Use defined constants as parameters.
This commit is contained in:
parent
d313c0b982
commit
fb1d5310ad
|
@ -2452,7 +2452,7 @@ REBAR_InsertBandT(REBAR_INFO *infoPtr, INT iIndex, LPREBARBANDINFOW lprbbi, BOOL
|
|||
REBAR_DumpBand (infoPtr);
|
||||
|
||||
REBAR_Layout(infoPtr);
|
||||
InvalidateRect(infoPtr->hwndSelf, 0, TRUE);
|
||||
InvalidateRect(infoPtr->hwndSelf, NULL, TRUE);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -2653,7 +2653,7 @@ REBAR_SetBandInfoT(REBAR_INFO *infoPtr, INT iBand, LPREBARBANDINFOW lprbbi, BOOL
|
|||
|
||||
if (uChanged & (RBBIM_CHILDSIZE | RBBIM_SIZE | RBBIM_STYLE | RBBIM_IMAGE)) {
|
||||
REBAR_Layout(infoPtr);
|
||||
InvalidateRect(infoPtr->hwndSelf, 0, 1);
|
||||
InvalidateRect(infoPtr->hwndSelf, NULL, TRUE);
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
@ -2798,7 +2798,7 @@ REBAR_ShowBand (REBAR_INFO *infoPtr, INT iBand, BOOL show)
|
|||
}
|
||||
|
||||
REBAR_Layout(infoPtr);
|
||||
InvalidateRect(infoPtr->hwndSelf, 0, 1);
|
||||
InvalidateRect(infoPtr->hwndSelf, NULL, TRUE);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -3399,7 +3399,7 @@ REBAR_SetRedraw (REBAR_INFO *infoPtr, BOOL redraw)
|
|||
if (infoPtr->fStatus & BAND_NEEDS_REDRAW) {
|
||||
REBAR_MoveChildWindows (infoPtr, 0, infoPtr->uNumBands);
|
||||
REBAR_ForceResize (infoPtr);
|
||||
InvalidateRect (infoPtr->hwndSelf, 0, TRUE);
|
||||
InvalidateRect (infoPtr->hwndSelf, NULL, TRUE);
|
||||
}
|
||||
infoPtr->fStatus &= ~BAND_NEEDS_REDRAW;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue