How to retarget the scroll wheel in VB.Net?

Posted by Orborde on Stack Overflow See other posts from Stack Overflow or by Orborde
Published on 2010-04-01T11:29:38Z Indexed on 2010/04/01 11:33 UTC
Read the original article Hit count: 360

Filed under:
|
|
|

I have a form in VB.Net with Autoscroll enabled and several ComboBoxes within it. When I click on a ComboBox, I can use the mouse wheel to scroll through options, but I cannot deselect the ComboBox (by clicking off it on a blank portion of the parent form) in order to return to scrolling the parent form. This makes navigation in the form annoying, as I instinctively click off the control and flip the scroll wheel, causing the ComboBox to change selections instead of moving the parent form.

Is there a way to make this work in the intuitive way I expect it to, or do I have some conceptual confusion that makes this the wrong question to ask?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about vb.net