I need to completely disable the mouse wheel in the form of a window and on each control contained in it, I tried events with the mouse wheel, but it does not work correctly:
this.MouseWheel += new MouseEventHandler(Form_MouseWheel); private void Form_MouseWheel(object sender, MouseEventArgs e) { ((HandledMouseEventArgs)e).Handled = true; }
How can I completely disable the mouse wheel in the form of a window and in each of them inside?
source share