Joris Huizer wrote:
> Why not like
>
> > +SystemParametersInfoW(SPI_GETWHEELSCROLLLINES,0,
> &pulScrollLines, 0);
> > +gcWheelDelta = GET_WHEEL_DELTA_WPARAM(wParam);
> > +if (gcWheelDelta >= WHEEL_DELTA && pulScrollLines)
> > + nPos += pulScrollLines * (-gcWheelDelta / WHEEL_DE
Hannu Valtonen wrote:
Hi,
This patch adds mousewheel support to the rapidly maturing riched20.
Changelog:
Add mousewheel support to riched20
- Hannu Valtonen
+ case WM_MOUSEWHEEL:
+ {
+int gcWheelDelta = 0, nPos = editor->nScrollPosY;
+UINT pulScrollLines;
+
+SystemParametersIn