Stop MouseWheel msgs getting to AutoScroll panel?

340 views Asked by At

In vb.net I have a user control inherited from Panel which creates it's own embedded PictureBox. I want to be able to zoom in on the PictureBox with the mouse wheel, but nothing I do stops the Panel's Vertical Scrollbar from processing the msg and panning up after my PictureBox.Size and scrollbar.value assignments.

C# automatically prevents the propagation of the mouse wheel msg to children when you make a Form1 level msg handler. It works perfectly in C# without my having to do anything. (But I despise C#, its not unfriendly, its user hostile...)

So I desperately want to get this issue fixed so I can continue using VB.Net instead banging my head against C#. I have a deadline...

0

There are 0 answers