Home All Groups Group Topic Archive Search About

Using the mousewheel

Author
28 Jul 2006 2:10 PM
Jean Paul Mertens
Hello,

I try to use the mousewheel in a user control to to scroll in a pannel where
I draw with GDI+ .

due to the fact that a pannel don't has focus, I have no mousewheel event at
my dispositon. Is there a work around?

Someone has an idee?

tnx in advance.

Jean Paul

Author
28 Jul 2006 4:22 PM
Mini-Tools Timm
"Jean Paul Mertens" wrote:

> Hello,
>
> I try to use the mousewheel in a user control to to scroll in a pannel where
> I draw with GDI+ .
>
> due to the fact that a pannel don't has focus, I have no mousewheel event at
> my dispositon. Is there a work around?

You could monitor for mouse wheel events at the application level.  We
provide a .NET component FREE for non-commercial use that can do this for you:

http://www.mini-tools.com/goto/input

--
Timm Martin
Mini-Tools
..NET Components and Windows Software
http://www.mini-tools.com

AddThis Social Bookmark Button