drag and drop from outlook

General TRichView support forum. Please post your questions here
Post Reply
erikvdw
Posts: 40
Joined: Tue Feb 28, 2006 8:27 am

drag and drop from outlook

Post by erikvdw »

When I drop an email from outlook on a TRichviewedit control I only get the quickview data in the richviewedit and not the totally message.
Is the a property to get the full message?
erikvdw
Posts: 40
Joined: Tue Feb 28, 2006 8:27 am

msg files

Post by erikvdw »

And when I drop a msg file to a richviewedit an error message is shown 'Unknown picture file extention (.msg)
Sergey Tkachenko
Site Admin
Posts: 17522
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

1) TRichViewEdit accepts data in formats that are provided by the source application (Outlook). If it provides RTF, it reads RTF. If it provides a plain text (ANSI or Unicode), it inserts it.
You can only turn off accepting some formats by excluding them from rve.AcceptDragDropFormats property.

2) When you drop files, TRichViewEdit inserts files having TXT, RTF and RVF extensions. It also tries to insert other files as graphic files. If they are not graphic files, you can see an exception. But this exception is handled, it is visible only when the application is debugged in Delphi IDE. This error message is not shown to the end user.
If you want to insert dropped files yourself, you can do it in OnDropFiles event.
Post Reply