tags:

views:

68

answers:

1

Not sure how to get around a problem of having to use the CTRL key when dropping a ListBox item into a RichTextBox with EnableAutoDragDrop=true...

Dropping into a TextBox with AllowDrop=true works without the CTRL key.

Using VS2008 .net framework 3.5

A: 

Here is a solution that works OK in VS2005/2008:

http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_26532918.html

You need DragDrop and Dragover in your RichTextBox.

mas_oz2k1