How do I enable a Panel to recieve MouseWheel events?

R

Robin Tucker

Hiya,


I can't get my panel to recieve mousewheel events at all. When I handle the
Mousedown event, I call Me.Focus() in order to have the input focus, but my
mousewheel event never fires. Is there some special trick I have to use
here?


Thanks



Robin
 
H

Herfried K. Wagner [MVP]

* "Robin Tucker said:
I can't get my panel to recieve mousewheel events at all. When I handle the
Mousedown event, I call Me.Focus() in order to have the input focus, but my
mousewheel event never fires. Is there some special trick I have to use
here?

Panels cannot get the input focus.
 
R

Robin Tucker

Cheers, I'm now setting the focus to the scrollbar I have sitting on the
panel - see question below :)
 

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