title: How to override PASTE operations in ScintillaNet?
body: <p>I am using the Scintilla control from <a href="http://scintillanet.codeplex.com/" rel="nofollow noreferrer">ScintillaNet</a>, and I need to have some control over the paste operations (in order to be able to check some things and/or update the text to be pasted).</p>
  
  <p>I've tried to create a subclass of the Scintilla control and override the WndProc method.
  Then, I intercept the WM_PASTE message (0x0302), no luck. I never catch it.</p>
  
  <p>Here is the code I use:</p>
  
  <pre>
  protected override void WndProc(ref Message m)
  {
      if (m.Msg == WM_PASTE)
      {
          MessageBox.Show("Paste");
      }
      base.WndProc(ref m);
  }
  </pre>
  
  <p>Any idea?</p>