By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,528 Members | 915 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,528 IT Pros & Developers. It's quick & easy.

Windows Forms Panel - MouseWheel Scroll problem

P: n/a
using VS2005 and c# to create a windows forms application.

One of my forms has a panel which I've added various controls to. Now,
I've set the autoscroll property to true, which is great, but I can't
use my mousewheel to scroll up or down and its annoying the hell out
me.

How do I get a panel to scroll on mousewheel scroll event?

Hope someone can help.

Jan 27 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a
I have the same problem. The mouse wheel works only when you explicitly
click on the scroll bar. I'm guessing that in order for the mouse wheel
events to reach the scroll bar, it must explicitly be given focus. I'm
also guessing that there is some way for the panel (when it has focus)
to pass the mouse wheel events on to its scroll bar, but I'm not sure
how to do that.

Anybody?

Jan 27 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.