[patch] Fix listview scrolling

Paul Rupe prupe at myrealbox.com
Sat Oct 5 11:59:17 CDT 2002

This patch fixes some problems related to keyboard scrolling in listviews.  
First, pressing Home incorrectly put the third or fourth item at the top of 
the view rather than the first.  Second, PgDn would usually scroll down an 
extra row so that the selected item became the second from the bottom instead 
of the very bottom.  Lastly, I'm pretty sure there should be separate 
nPartialAdjust variables for horz and vert scrolling.  Dimitrie, feel free to 
look over this and make sure I didn't misunderstand anything you did.

Patch is relative to Dimitrie's Listview K10 patch.

File: dlls/comctl32/listview.c
  Paul Rupe <prupe at myrealbox.com>
  Fix inaccurate listview scrolling with PgUp/Down and Home/End keys

Paul Rupe   <prupe at myrealbox.com>                "She smiled, in the end."

| Oppose government police-ware on your PC!
| Stop the Consumer Broadband and Digital Television Promotion Act!
| <http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: listview-20021005.dff
Type: text/x-diff
Size: 1754 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20021005/0c4bc45e/listview-20021005.bin

More information about the wine-patches mailing list