Commit 43201e07 authored by Felix Nawothnig's avatar Felix Nawothnig Committed by Alexandre Julliard

Resize listview column to autofit on a doubleclick on the

header-divider.
parent 86cdb432
......@@ -8288,6 +8288,11 @@ static LRESULT LISTVIEW_HeaderNotification(LISTVIEW_INFO *infoPtr, const NMHEADE
notify_listview(infoPtr, LVN_COLUMNCLICK, &nmlv);
}
break;
case HDN_DIVIDERDBLCLICKW:
case HDN_DIVIDERDBLCLICKA:
LISTVIEW_SetColumnWidth(infoPtr, lpnmh->iItem, LVSCW_AUTOSIZE);
break;
}
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment