469,575 Members | 1,680 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,575 developers. It's quick & easy.

Windows Forms Panel - MouseWheel Scroll problem

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
1 10570
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.

Similar topics

reply views Thread by Mark Johnson | last post: by
1 post views Thread by Marcel Sengers | last post: by
4 posts views Thread by iKiLL | last post: by
1 post views Thread by =?Utf-8?B?UmljaA==?= | last post: by
21 posts views Thread by Dan Tallent | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.