title: How to programmatic disable C# Console Application's Quick Edit mode?
body: <p>I,ve tried several solutions found, like the one -> </p>
  
  <p><a href="http://www.pcreview.co.uk/forums/console-writeline-hangs-if-user-click-into-console-window-t1412701.html" rel="noreferrer">http://www.pcreview.co.uk/forums/console-writeline-hangs-if-user-click-into-console-window-t1412701.html</a></p>
  
  <p>But, i observed that mode in GetConsoleMode(IntPtr hConsoleHandle, out int mode) will be different for different console app. It is not constant. </p>
  
  <p>Can I disable mouse clicks (right/left buttons) on a console application to achieve the same scenario. I found that it can be done with IMessageFilter but only for Window Form Application and not for console application.</p>
  
  <p>Please guide.</p>