title: RichTextBox loses name of pasted files, but only for some file types
body: <p>When pasting a file to a WinForms <code>RichTextBox</code> the file is shown as the default filetype icon together with the name of the pasted file.  </p>
  
  <p><strong>But:</strong> This only works for some file types, for example jpg and msg.  </p>
  
  <p>It should look like that:<br>
  <a href="https://i.stack.imgur.com/tPMJ8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tPMJ8.png" alt="enter image description here"></a></p>
  
  <p>For other file types, for example pdf and doc, the file type is shown instead of the name:<br>
  <a href="https://i.stack.imgur.com/qTUBZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qTUBZ.png" alt="enter image description here"></a></p>
  
  <p>I verified, that the <code>Name</code> property of the pdf file is properly set, and tried to find the place where the text is set in the .NET source code but I wasn't able to get beyond the call to the native <code>SendMessage</code> method</p>
  
  <p><strong>Question:</strong> How can I change the behaviour of the <code>RichTextBox</code>, so that the name is always shown?</p>
  
  <hr>
  
  <p><strong>How to reproduce:</strong><br>
  1. Create a new <code>Form</code><br>
  2. Add a <code>RichTextBox</code> to it<br>
  3. Set <code>EnableAutoDragDrop</code> to <code>true</code> (but the problem also occurs when calling <code>.Paste()</code>)<br>
  4. Drag files from explorer to the <code>RichTextBox</code></p>
  
  <p>Step 1-3 can be shortened using this code:  </p>
  
  <pre><code>using System.Windows.Forms;
  
  public class RTBForm : Form
  {
      public RTBForm()
      {
          RichTextBox rtb = new RichTextBox();
          rtb.Dock = DockStyle.Fill;
          rtb.EnableAutoDragDrop = true;
          Controls.Add(rtb);
      }
  }
  </code></pre>