Scrollbar: Handle the left and right arrow keys

Michael Kaufmann hallo at michael-kaufmann.ch
Sun Oct 30 08:58:01 CST 2005


-------------- next part --------------
Index: dlls/user/scroll.c
===================================================================
RCS file: /home/wine/wine/dlls/user/scroll.c,v
retrieving revision 1.14
diff -u -r1.14 scroll.c
--- dlls/user/scroll.c	19 Aug 2005 13:58:22 -0000	1.14
+++ dlls/user/scroll.c	30 Oct 2005 14:03:09 -0000
@@ -785,6 +785,8 @@
     case VK_END:   wParam = SB_BOTTOM; break;
     case VK_UP:    wParam = SB_LINEUP; break;
     case VK_DOWN:  wParam = SB_LINEDOWN; break;
+    case VK_LEFT:  wParam = SB_LINEUP; break;
+    case VK_RIGHT: wParam = SB_LINEDOWN; break;
     default: return;
     }
     SendMessageW(GetParent(hwnd),


More information about the wine-patches mailing list