C
Code Monkey
Suppose you've got a small Win Forms project and on one of the forms,
there's a panel.
In this panel, you programmatically place maybe 40 controls, which will
force the panel to scroll. You set the panel to AutoScroll.
Compiling the project seems fine - everything scrolls as it
should.....except for one thing.
The panel does not react to mousewheel events. All I want to do is
enable scrolling with a standard wheel mouse. How do I acheive this?
Please help - its something that's eluded me for a few months now.
there's a panel.
In this panel, you programmatically place maybe 40 controls, which will
force the panel to scroll. You set the panel to AutoScroll.
Compiling the project seems fine - everything scrolls as it
should.....except for one thing.
The panel does not react to mousewheel events. All I want to do is
enable scrolling with a standard wheel mouse. How do I acheive this?
Please help - its something that's eluded me for a few months now.