comctl32: listview: Recompute header size after an insertion of a column.
This commit is contained in:
parent
2e3e74ebd0
commit
2248217157
|
@ -6593,6 +6593,7 @@ static INT LISTVIEW_InsertColumnT(LISTVIEW_INFO *infoPtr, INT nColumn,
|
||||||
|
|
||||||
/* make space for the new column */
|
/* make space for the new column */
|
||||||
LISTVIEW_ScrollColumns(infoPtr, nNewColumn + 1, lpColumnInfo->rcHeader.right - lpColumnInfo->rcHeader.left);
|
LISTVIEW_ScrollColumns(infoPtr, nNewColumn + 1, lpColumnInfo->rcHeader.right - lpColumnInfo->rcHeader.left);
|
||||||
|
LISTVIEW_UpdateItemSize(infoPtr);
|
||||||
|
|
||||||
return nNewColumn;
|
return nNewColumn;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue