comctl32: Update header window in listview WM_PAINT handler.

This commit is contained in:
Felix Nawothnig 2007-02-28 18:07:17 +01:00 committed by Alexandre Julliard
parent f671aed503
commit 9badfb50cf
2 changed files with 4 additions and 1 deletions

View File

@ -8798,6 +8798,9 @@ static LRESULT LISTVIEW_Paint(LISTVIEW_INFO *infoPtr, HDC hdc)
LISTVIEW_Arrange(infoPtr, LVA_DEFAULT);
LISTVIEW_UpdateScroll(infoPtr);
}
UpdateWindow(infoPtr->hwndHeader);
if (hdc)
LISTVIEW_Refresh(infoPtr, hdc);
else

View File

@ -573,7 +573,7 @@ static void test_redraw(void)
trace("invalidate & update\n");
InvalidateRect(hwnd, NULL, TRUE);
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);