ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Drag Image from MV and drop to Windows Explorer?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
PeterPanino Posted - Aug 15 2017 : 18:11:23
The TImageEnMView DragDrop demos show only how to drag an image from a TImageEnMView to another control.

But I need to drag an image from a TImageEnMView to Windows Explorer where the image should be saved in a predefined format.

There is no file information in the image because the images in the TImageEnMView were created with SetImageFromStream.

BTW, while dragging the selected thumbnail image should be shown underneath the mouse.

Is this possible? Do you have a demo code which shows how to do this?
3   L A T E S T    R E P L I E S    (Newest First)
graph_man Posted - Oct 04 2018 : 19:20:39
Send me please your demo.
PeterPanino Posted - Aug 16 2017 : 08:01:10
Hi Nigel,

I have solved it in a very nice way with the popular The-Drag-and-Drop-Component-Suite-for-Delphi.

If anybody is interested, I could provide a public Demo for this.
xequte Posted - Aug 15 2017 : 22:51:33
Hi Peter

You can use TIEFolderMView if you need to drag files to Explorer:

https://www.imageen.com/help/TImageEnFolderMView.AutoDragFiles.html

It is quite different from VCL Drag/Drop.


But in your case you are dealing with memory files only, so you will need to implement your own code to handle it. Look for AutoDragFiles references in iexFolderMView.pas and copy that code to your own app. AFAIK, you will need to save the memory image to file for Windows Explorer.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com