472,096 Members | 2,226 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,096 software developers and data experts.

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 10775
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 leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.