Paste Link or Data into a RichTextBox

D

**Developer**

I've seen applications that have a Paste Special and if clicked allow either
the Data to be pasted or a Link to be pasted.


I'm using the RichTextBox and I'd like to implement that feature.

Can anyone give me any help/direction?

I know how to make the PasteSpecial menu but do not know how to force the
paste to Link or Data.

What is the default RichTextBox - Link or Data.


PS
I've used the tom interface if that helps.
 
D

**Developer**

But if I open paint, draw something and then do a Copy and then in my app I
do
ControlRichTextBox1.Paste()

I believe I get a Link because if I then click the image in the RichTextBox
it opens Paint.

So based on your statement I'd guess that DDE is not doing it but OLE is
doing something equivalent.



Does that make sense???



Is the term "Link" replaced with something else?



Thanks for the reference to the MS site.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top