Mouse wheel

A

alberto

I've got a control who inherits from the Panel.
I need to check the mouse wheel movements but I can't find the event.

Could you tell me how to control the mouse wheel movement? Thank you
 
E

Ethan Strauss

I just typed in the following in a windows form....


Panel lg = new Panel();
lg.MouseWheel += new MouseEventHandler(lg_MouseWheel);

I have not used it, but it looks like it should work.
Ethan
 
A

alberto

How can I move the visible part of the panel according with the mouse
wheel movement?
Thank you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top