Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Mouse wheel

0 views
Skip to first unread message

alberto

unread,
Dec 15, 2009, 12:08:41 PM12/15/09
to
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

Ethan Strauss

unread,
Dec 15, 2009, 3:21:01 PM12/15/09
to
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

"alberto" wrote:

> .
>

alberto

unread,
Dec 15, 2009, 3:31:38 PM12/15/09
to
How can I move the visible part of the panel according with the mouse
wheel movement?
Thank you

0 new messages