comctl32: make listview forward HDN_ITEMCLICK

Igor Tarasov tarasov.igor at gmail.com
Tue Feb 17 05:20:52 CST 2009


This fixes bug 3101: http://bugs.winehq.org/attachment.cgi?bugid=3107#c15
Listview should forward that notification, but it does not, so several
applications fail to handle listview header clicks and reorder list items.
-------------- next part --------------
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index b8545fd..4e8ce73 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -8953,6 +8953,7 @@ static LRESULT LISTVIEW_HeaderNotification(LISTVIEW_INFO *infoPtr, const NM
             nmlv.iItem = -1;
             nmlv.iSubItem = lpnmh->iItem;
             notify_listview(infoPtr, LVN_COLUMNCLICK, &nmlv);
+            notify_forward_header(infoPtr, lpnmh);
         }
        break;


More information about the wine-patches mailing list