comctl32/listview: Reset bNoItemMetrics to make sure that listview items can be arranged correctly.
Signed-off-by: Zhao Yi <zhaoyi@uniontech.com>
This commit is contained in:
parent
4fd56146a8
commit
314c94e100
1 changed files with 1 additions and 0 deletions
|
@ -5590,6 +5590,7 @@ static BOOL LISTVIEW_DeleteAllItems(LISTVIEW_INFO *infoPtr, BOOL destroy)
|
|||
LISTVIEW_UpdateScroll(infoPtr);
|
||||
}
|
||||
LISTVIEW_InvalidateList(infoPtr);
|
||||
infoPtr->bNoItemMetrics = TRUE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue