G
Guest
I have a form with buttons and a custom control I wrote showing a list of
items. I would like to scroll the list when the mouse is over the control
and the mouse wheel is moved but yet don't want to set the focus to my
control. How can I do this. Currently, I set the focus to my control when
the mouse hovers over my control but this could cause a user problems with
the lost focus event on any other control he is using at the time. It seems
that only the control with the focus receives the MouseWheel events. I also
tried the capture method but it doesn't capture the mousewheel events.
items. I would like to scroll the list when the mouse is over the control
and the mouse wheel is moved but yet don't want to set the focus to my
control. How can I do this. Currently, I set the focus to my control when
the mouse hovers over my control but this could cause a user problems with
the lost focus event on any other control he is using at the time. It seems
that only the control with the focus receives the MouseWheel events. I also
tried the capture method but it doesn't capture the mousewheel events.