M
MySelf
Hello,
I am working on a Winforms application, and implementing a drag and
drop between a treeview and a RTF textbox.
Everything works fine, except that when I drag a string (I mean text)
from the treeview to the textbox and drop it on the textbox, the string
I dropped is displayed in black over orange, until I drop another
string. Then the first string does not appear anymore, but the new one
is displayed in black over orange, somewhere on the textbox.
Note that it does not prevent me from recoverng the value dropped in my
code, by the mean of e.Data.GetDataPresent(DataFormats.Text);
I'd like to be able to remove this graphical effect so this display
does not appear anymore. How can I achieve that ? Is the some property
on the RTF textbox to avoid this effect ?
Thank you.
I am working on a Winforms application, and implementing a drag and
drop between a treeview and a RTF textbox.
Everything works fine, except that when I drag a string (I mean text)
from the treeview to the textbox and drop it on the textbox, the string
I dropped is displayed in black over orange, until I drop another
string. Then the first string does not appear anymore, but the new one
is displayed in black over orange, somewhere on the textbox.
Note that it does not prevent me from recoverng the value dropped in my
code, by the mean of e.Data.GetDataPresent(DataFormats.Text);
I'd like to be able to remove this graphical effect so this display
does not appear anymore. How can I achieve that ? Is the some property
on the RTF textbox to avoid this effect ?
Thank you.