Community
Participate
Working Groups
Canvas (and hence also StyledText) does not support the horizontal scroll wheel on Windows. I first thought the problem was just that Scrollable#WM_MOUSEHWHEEL(long, long) is not implemented (in a similar way as the vertical WM_MOUSEWHEEL). But when I added that method and Scrollable#wmScrollHWheel(..), the canvas content only moved once when I tilted the wheel sideways. It looks like Windows only sends a single WM_MOUSEHWHEEL and then a sequence of WM_HSCROLL events while I hold the wheel sideways. When I spin the wheel vertically, I get a WM_MOUSEWHEEL followed by a WM_VSCROLL for each notch. This is with a Logitech mouse and http://antibody-software.com/web/software/software/wizmouse-makes-your-mouse-wheel-work-on-the-window-under-the-mouse/
Created attachment 247302 [details] naive attempt to implement Scrollable.wmScrollHWheel (no fix)
*** This bug has been marked as a duplicate of bug 205137 ***