comctl32: Scroll listview when performing a marquee selection

Owen Rudge orudge at
Tue Oct 20 14:01:37 CDT 2009

This patch adds support for scrolling a listview when performing a 
marquee selection. In Windows, a listview will scroll around when 
dragging and highlighting icons, picking up speed as you move the mouse 
further past the window.

The patch introduces some new functions and moves around some existing 
routines mainly to avoid duplication of code where possible, and to 
hopefully make the process clearer. For instance, a timer routine is 
used to ensure that the scrolling continues when the mouse is stationary 
outside the window bounds - meaning WM_MOUSEMOVE is not called and hence 
the code needs to be duplicated. I submitted the patch all in one chunk 
as it didn't really make sense to break it up. If it's considered too 
unmanageable, please let me know and I can try to refine it into smaller 

  dlls/comctl32/listview.c |  365 
  1 files changed, 269 insertions(+), 96 deletions(-)

Owen Rudge
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8e5e83c21a3eee02dca586dda7c80f59680fb826.diff
Type: text/x-patch
Size: 18579 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list