mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-21 22:38:13 +00:00
Resize listview column to autofit on a doubleclick on the
header-divider.
This commit is contained in:
parent
86cdb432c5
commit
43201e072b
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue