.NET C# MouseEnter listener on a Control WITH Scrollbar

Posted by Run CMD on Stack Overflow See other posts from Stack Overflow or by Run CMD
Published on 2010-06-09T12:47:01Z Indexed on 2010/06/09 13:42 UTC
Read the original article Hit count: 192

Filed under:
|
|

As long as the mouse is over a specific control, we show some form. When the mouse leaves the control, we hide the control after a small timeout. This is standard hover behavior.

However, when a control (for example a Treeview) has a scrollbar, and the mouse is ON or OVER the scrollbar, the events don't fire ...

If we could get a reference to the scrollbar control, this would solve our problem, as we would add the same listener events to the scrollbar. However, the scrollbar isn't accessible as far as I know ...

How can we solve this problem ?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET