Can't drag picture into richview from some application

General TRichView support forum. Please post your questions here
Post Reply
greatsea
Posts: 14
Joined: Sat Nov 05, 2011 5:54 pm

Can't drag picture into richview from some application

Post by greatsea »

Dear sir,I test the demo and find one problem:
Can not drag picture from some applictation,also not past the picture into richViewEdit.
The Drag info is below:

ID Name Aspect Medium Size
13 CF_UNICODETEXT Content GlobalMem 2
15 CF_HDROP Content GlobalMem 204
49364 HTML Format Content GlobalMem 801
49621 QQ_Unicode_RichEdit_Format Content GlobalMem 519
49623 QQ_RichEdit_Format Content GlobalMem 519
8 CF_DIB Content GlobalMem 63,772
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

From these format, TRichViewEdit understands:
- CF_UNICODETEXT
- CF_DIB
- CF_HDROP (if it contains graphic files or rvf/rtf/txt).

I listed formats in the order of their priority. As you can see, CF_UNICODETEXT has the higher priority, so a plain text will be inserted (if it is not excluded from AcceptDragDropFormats property).

What application is a source? I do not know these QQ_ formats. And I cannot see the standard "Rich Text Format".
greatsea
Posts: 14
Joined: Sat Nov 05, 2011 5:54 pm

Post by greatsea »

Thanks for your reply.The application is QQ,a chat tools online,and about some hundred million people is using it now.The web address is:http://www.imqq.com/
The picture in the qq can drag drop to other appliction normally.
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

These applications may accept HTML format, or give CF_DIB or CF_HDROP higher priority than CF_UNICODETEXT.
greatsea
Posts: 14
Joined: Sat Nov 05, 2011 5:54 pm

Post by greatsea »

Thanks very much.
The QQ application is source,and the richviewEdit is target,then failed.
Is the the reason : The soure is a picture in fact, but the first format of source is Unicode,not HTML format, or give CF_DIB or CF_HDROP?
Post Reply