I have a ContextMenuStrip with many items.
How to handle mouse wheel to scroll throught items?
I search the net but nothing find usefull.
Or how to get first/last displayed/visible item from contextmenu?
Since this is a old question you probably wont need this, but just in-case and for future reference. You can simulate key up and down presses to scroll through it, its far from perfect but it beats having to write your own ContextMenuStrip to handle the scroll wheel. Mouse wheel scrolling Toolstrip menu items
Although this question is very old, someone may still benefit from my input...
var menu = new ContextMenuStrip();
menu.MouseWheel += (ob, ev) => SendKeys.SendWait(ev.Delta > 0 ? "{UP}" : "{DOWN}");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With