我目前正在开发一个自定义控件,为了实现垂直滚动,我希望能够获取配置的垂直滚动率(描述 here)。 我会使用此设置将控件移动 [X] 行。
最佳答案
你可以从SystemParametersInfo得到它与 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.
关于c# - 如何获得鼠标滚轮垂直滚动率,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35092726/