title: Disable Windows 10 "scroll inactive windows" in C# Winforms
body: <p>I have a question regarding C#, Winforms and "Scroll inactive windows when I hover over them" in Windows 10.</p>
  
  <p>I have a flow layout panel, which i dynamically fill with custom controls. 
  The controls have a zoom in zoom out feature that is controlled by the mouse wheel. </p>
  
  <p>When the number of controls exceed the flow layout panel size i got AutoScroll = true, so the panel gets a vertical scroll bar. I do not want to scroll the panel with the mouse wheel, i want the user to manually do it.</p>
  
  <p>Everything works fine in Windows 7, but in Windows 10, if the user has the "Scroll inactive windows when I hover over them" turned on, when the mouse is over a control and the user uses the mouse wheel, the control zooms in or out, but the panel also scrolls.</p>
  
  <p>I debugged, and i found that Win10 scrolls the panel even before the form/panel's MouseWheel event. </p>
  
  <p><strong>How can I disable the "Scroll inactive.." temporarily in my code ? or at least disable its behavior?</strong> </p>
  
  <p>Thanks !</p>