Nikolay Sivov : comctl32/listview: Handle LVCFMT_FIXED_WIDTH flag.

Alexandre Julliard julliard at winehq.org
Tue Sep 8 08:55:31 CDT 2009


Module: wine
Branch: master
Commit: ecda6af39f97970857e49e42765dbbb4af6b5538
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ecda6af39f97970857e49e42765dbbb4af6b5538

Author: Nikolay Sivov <bunglehead at gmail.com>
Date:   Sun Sep  6 10:54:53 2009 +0400

comctl32/listview: Handle LVCFMT_FIXED_WIDTH flag.

---

 dlls/comctl32/listview.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index dd42104..def3d1f 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -7336,6 +7336,9 @@ static void column_fill_hditem(const LISTVIEW_INFO *infoPtr, HDITEMW *lphdi, INT
             lphdi->fmt |= HDF_IMAGE;
             lphdi->iImage = I_IMAGECALLBACK;
         }
+
+        if (lpColumn->fmt & LVCFMT_FIXED_WIDTH)
+            lphdi->fmt |= HDF_FIXEDWIDTH;
     }
 
     if (lpColumn->mask & LVCF_WIDTH)




More information about the wine-cvs mailing list