Comctl32: fix listview column resize [2/2]

Mikołaj Zalewski mikolaj at
Sat Apr 8 11:49:43 CDT 2006

  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.

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

Mikolaj Zalewski

More information about the wine-patches mailing list