How to make scroll event for ListView

前端 未结 2 870
情话喂你
情话喂你 2021-01-24 14:10

I want to make an event for the scroll in ListView.

I have found something that works, but it only fires the event when using the scrollbar. It does not respond to scro

2条回答
  •  深忆病人
    2021-01-24 15:00

    The mouse wheel m.Msg value should be:

    private const int WM_MOUSEWHEEL = 0x020A;
    

提交回复
热议问题