Comctl32: fix listview column resize [2/2]

Mikołaj Zalewski mikolaj at zalewski.pl
Sat Apr 8 11:54:04 CDT 2006


[In the previous mail I've forgot to attach the patch]

  When resizing the columns of a listview by dragging the header columns
divider, the list columns resizes after every mouse move while the
header only draws a tracking line and resizes when the mouse button goes
up. These patches tries to fix it. The second patch makes the listview
draw a tracking line for HDN_TRACK notifications (i.e. from
non-HDS_FULLDRAG header) and resize after HDN_ITEMCHANGED (e.g. after
every mouse move from a HDS_FULLDRAG header). The header control is
created with the HDS_FULLDRAG flag.

Changelog:
  * Draw a track line after a HDN_TRACK, resize the columns only after a
HDN_ITEMCHANGED
  * Create the header with HDS_FULLDRAG

Mikolaj Zalewski

-------------- next part --------------
A non-text attachment was scrubbed...
Name: listview_tracking.patch
Type: text/x-patch
Size: 3606 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060408/62e283bd/listview_tracking-0001.patch


More information about the wine-patches mailing list