treeview: TVS_NOSCROLL
Huw D M Davies
h.davies1 at physics.ox.ac.uk
Sat May 1 06:05:33 CDT 2004
Huw Davies <huw at codeweavers.com>
Implement TVS_NOSCROLL
Index: treeview.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/treeview.c,v
retrieving revision 1.147
diff -u -r1.147 treeview.c
--- treeview.c 20 Apr 2004 01:12:18 -0000 1.147
+++ treeview.c 1 May 2004 10:47:05 -0000
@@ -30,8 +30,8 @@
* missing notifications: NM_SETCURSOR, TVN_GETINFOTIP, TVN_KEYDOWN,
* TVN_SETDISPINFO, TVN_SINGLEEXPAND
*
- * missing styles: TVS_FULLROWSELECT, TVS_INFOTIP, TVS_NOSCROLL,
- * TVS_RTLREADING, TVS_TRACKSELECT
+ * missing styles: TVS_FULLROWSELECT, TVS_INFOTIP, TVS_RTLREADING,
+ * TVS_TRACKSELECT
*
* missing item styles: TVIS_CUT, TVIS_EXPANDPARTIAL
*
@@ -4333,7 +4333,7 @@
else if (visible_pos >= viscount
/* Sometimes, before we are displayed, GVC is 0, causing us to
* spuriously scroll up. */
- && visible_pos > 0)
+ && visible_pos > 0 && !(infoPtr->dwStyle & TVS_NOSCROLL) )
{
/* item is past the end of the list. */
int scroll = visible_pos - viscount;
More information about the wine-patches
mailing list