Информация об изменениях

Сообщение Re: Про mouse wheel вопрос имею ... от 08.08.2015 5:58

Изменено 08.08.2015 6:03 Pavel Dvorkin

Здравствуйте, c-smile, Вы писали:

CS>Вот что означает прокрутка колеса на один оборот ?


Если речь идет о Windows, то, строго говоря

https://msdn.microsoft.com/en-us/library/windows/desktop/ms724947(v=vs.85).aspx

SPI_GETWHEELSCROLLLINES
Retrieves the number of lines to scroll when the vertical mouse wheel is moved. The pvParam parameter must point to a UINT variable that receives the number of lines. The default value is 3.
SPI_GETWHEELSCROLLCHARS
Retrieves the number of characters to scroll when the horizontal mouse wheel is moved. The pvParam parameter must point to a UINT variable that receives the number of lines. The default value is 3.
Re: Про mouse wheel вопрос имею ...
Здравствуйте, c-smile, Вы писали:

CS>Вот что означает прокрутка колеса на один оборот ?


Если речь идет о Windows, то, строго говоря

https://msdn.microsoft.com/en-us/library/windows/desktop/ms724947(v=vs.85).aspx

SPI_GETWHEELSCROLLLINES
Retrieves the number of lines to scroll when the vertical mouse wheel is moved. The pvParam parameter must point to a UINT variable that receives the number of lines. The default value is 3.
SPI_GETWHEELSCROLLCHARS
Retrieves the number of characters to scroll when the horizontal mouse wheel is moved. The pvParam parameter must point to a UINT variable that receives the number of lines. The default value is 3.

Ну м учитывать скорость вращения (the distance the wheel is rotated), см. мой ответ wildwind.