Horizontal mouse wheel event? (WinAPI)

Some laptops have a trackpad that can scroll horizontally as well as vertically (WM_MOUSEWHEEL), and some desktop mice have the ability to tilt their wheels.

How can I handle horizontal scrolling from a trackpad or mouse wheel?

+3
source share
1 answer

WM_MOUSEHWHEEL is sent to the active window when the horizontal scroll wheel of the mouse is tilted or rotated, and is also useful for horizontal scrolling with control of horizontal scrolling of the trackpad

+3
source

Source: https://habr.com/ru/post/1750760/


All Articles