Take into account the new size of a column when the header size

change.
This commit is contained in:
Maxime Bellengé 2005-02-21 20:38:31 +00:00 committed by Alexandre Julliard
parent 56c701df3f
commit 33c7e15f77
1 changed files with 1 additions and 0 deletions

View File

@ -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 */