Can the hover interval be changed?

后端 未结 3 1520
失恋的感觉
失恋的感觉 2021-01-18 15:18

I have code that allows a user to hover over a control, and it will respond. However, I\'d like the hovering to fire a little quicker. Is there a way to speed up the hover r

3条回答
  •  后悔当初
    2021-01-18 15:22

    There is an intentional time delay of SystemInformation.MouseHoverTime milliseconds before the MouseHover event is generated, as a simple alternative you can use the MouseEnter event instead, which will trigger immediately.

提交回复
热议问题