K
Keltus
Hello,
I have a Form with a ListBox in it. I'd like to be able to scroll the
ListBox even when it's not in focus. ie. when i scroll the mousewheel
when my focus is on the form, I'd like the ListBox to scroll. Now,
there are two ways I would think would work. The first is if I can
resend the MouseEventArgs to the ListBox but there does not seen to be
a way to pass that event along. The second is if I could manually
scroll the ListBox when the Form sees the MouseEventArgs. I gues that
would require something like mylistbox.Scroll(e.Delta *
WindowsScrollMultiplier); but unfortunately, there is no Scroll()
member function for ListBox. So I seem to be stuck.
Thanks,
I have a Form with a ListBox in it. I'd like to be able to scroll the
ListBox even when it's not in focus. ie. when i scroll the mousewheel
when my focus is on the form, I'd like the ListBox to scroll. Now,
there are two ways I would think would work. The first is if I can
resend the MouseEventArgs to the ListBox but there does not seen to be
a way to pass that event along. The second is if I could manually
scroll the ListBox when the Form sees the MouseEventArgs. I gues that
would require something like mylistbox.Scroll(e.Delta *
WindowsScrollMultiplier); but unfortunately, there is no Scroll()
member function for ListBox. So I seem to be stuck.
Thanks,