Take into account the new size of a column when the header size
change.
This commit is contained in:
parent
56c701df3f
commit
33c7e15f77
|
@ -8249,6 +8249,7 @@ static LRESULT LISTVIEW_HeaderNotification(LISTVIEW_INFO *infoPtr, const NMHEADE
|
||||||
|
|
||||||
lpColumnInfo->rcHeader.right += dx;
|
lpColumnInfo->rcHeader.right += dx;
|
||||||
LISTVIEW_ScrollColumns(infoPtr, lpnmh->iItem + 1, dx);
|
LISTVIEW_ScrollColumns(infoPtr, lpnmh->iItem + 1, dx);
|
||||||
|
LISTVIEW_UpdateItemSize(infoPtr);
|
||||||
if (uView == LVS_REPORT && is_redrawing(infoPtr))
|
if (uView == LVS_REPORT && is_redrawing(infoPtr))
|
||||||
{
|
{
|
||||||
/* this trick works for left aligned columns only */
|
/* this trick works for left aligned columns only */
|
||||||
|
|
Loading…
Reference in New Issue