Fix for bug 147
Felix Nawothnig
felix.nawothnig at t-online.de
Tue May 17 19:30:57 CDT 2005
Since bug 147 is one of the oldest in the tracker I don't think it can
be that easy, but I wasn't able to see anything wrong with this in 2
days so I'll just submit it...
ChangeLog:
Resize listview column to autofit on a doubleclick on the header-divider
-------------- next part --------------
? tests/comboex.c
Index: listview.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/listview.c,v
retrieving revision 1.409
diff -u -r1.409 listview.c
--- listview.c 6 May 2005 15:44:32 -0000 1.409
+++ listview.c 18 May 2005 00:24:32 -0000
@@ -8288,6 +8288,11 @@
notify_listview(infoPtr, LVN_COLUMNCLICK, &nmlv);
}
break;
+
+ case HDN_DIVIDERDBLCLICKW:
+ case HDN_DIVIDERDBLCLICKA:
+ LISTVIEW_SetColumnWidth(infoPtr, lpnmh->iItem, LVSCW_AUTOSIZE);
+ break;
}
return 0;
More information about the wine-patches
mailing list