comctl32: Update header window in listview WM_PAINT handler.
This commit is contained in:
parent
f671aed503
commit
9badfb50cf
|
@ -8798,6 +8798,9 @@ static LRESULT LISTVIEW_Paint(LISTVIEW_INFO *infoPtr, HDC hdc)
|
||||||
LISTVIEW_Arrange(infoPtr, LVA_DEFAULT);
|
LISTVIEW_Arrange(infoPtr, LVA_DEFAULT);
|
||||||
LISTVIEW_UpdateScroll(infoPtr);
|
LISTVIEW_UpdateScroll(infoPtr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
UpdateWindow(infoPtr->hwndHeader);
|
||||||
|
|
||||||
if (hdc)
|
if (hdc)
|
||||||
LISTVIEW_Refresh(infoPtr, hdc);
|
LISTVIEW_Refresh(infoPtr, hdc);
|
||||||
else
|
else
|
||||||
|
|
|
@ -573,7 +573,7 @@ static void test_redraw(void)
|
||||||
trace("invalidate & update\n");
|
trace("invalidate & update\n");
|
||||||
InvalidateRect(hwnd, NULL, TRUE);
|
InvalidateRect(hwnd, NULL, TRUE);
|
||||||
UpdateWindow(hwnd);
|
UpdateWindow(hwnd);
|
||||||
ok_sequence(sequences, LISTVIEW_SEQ_INDEX, redraw_listview_seq, "redraw listview", TRUE);
|
ok_sequence(sequences, LISTVIEW_SEQ_INDEX, redraw_listview_seq, "redraw listview", FALSE);
|
||||||
|
|
||||||
flush_sequences(sequences, NUM_MSG_SEQUENCES);
|
flush_sequences(sequences, NUM_MSG_SEQUENCES);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue