Tuesday, February 20, 2007

Winforms Mouse Wheel Not Scrolling

I am working on a fairly complex .Net 2.0 Winform application and the mouse wheel would not scroll on a user control. Lucky for me LockerGnome had a posting for just this issue by aiKeith. This saved me what I would expect to be hours of troubleshooting for something that one would expect EVERY windows application to be able to do.

AND... it is an easy fix. Just give the user control focus: ControlName.focus();

No comments: