Hi

Consider this simple scenario:

richTextBox1.AllowDrop = true;
richTextBox1.DragDrop += new DragEventHandler(richTextBox1_DragDrop);
richTextBox1.DragEnter += new DragEventHandler(richTextBox1_DragEnter);
richTextBox1.Text = "";

private void richTextBox1_DragDrop(object sender, DragEventArgs e)
{
richTextBox1.Text += e.Data.GetData(typeof(string)) + "\n";
}

private void richTextBox1_DragEnter(object sender, DragEventArgs e)
{
if (e.Data.GetDataPresent("UniformResourceLocator"))
e.Effect = DragDropEffects.Link;
}

When dragging a URL from IE and dropping it on the RichTextBox everything is
fine. But when also clicking in the control, the drop event is activated
once more!? That can't be right?
I have only found this to happen in the RichTextBox. Is it a bug in this
control or am I forgetting something?

/Andreas Zita