trichview.com

trichview.support




Re: How to select data from clipboard when paste to RichViewEdit?


Return to index


Author

Message

Sergey Tkachenko

Posted: 08/19/2003 21:17:43


There is a set of methods for pasting:

- Paste (pasting in the most appropriate format)

- PasteRVF, PasteRTF, PasteBitmap, PasteMetafile, PasteText - pasting in the

specific format

Besides, there are methods: CanPaste, CanPasteRVF and CanPasteRTF.


If you use RichViewActions (http://www.trichview.com/resources/actions/),

use TrvActionPasteSpecial which displays dialog allowing to choose a format

to paste.




> Before paste to richview, I want to only choose rich text content and not

> choose other type such as images, controls, linebreak etc.

> What may I do?

> I have tried to create another richviewedit instance to accept all the

data

> from clipboard, then delete the datas I don't need, finaly use AppendFrom

to

> get data from the angent instance. But it throws exception "out of index".

>

> I don't know how to realize my means, someone help me, please!

>

>





Powered by ABC Amber Outlook Express Converter