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
 Show dragged image?

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 - May 17 2023 : 04:49:05
I handle a dragged IEN file from a TImageEnFolderMView while dragging over a TImageEnView:

procedure TForm1.ImageEnView1DragOver(Sender, Source: TObject; X, Y: Integer; State: TDragState; var Accept: Boolean);
// while dragging the ImageEnFolderMView1 image over ImageEnView1
begin
  if (Source is TImageEnFolderMView) then // if the dragged image comes from ImageEnFolderMView1
    Accept := True      // drag-drop cursor is shown
  else Accept := False; // not-accepted cursor is shown
end;


This shows only the standard drag cursor:



How can I show the dragged image instead of the standard drag cursor? Like when dragging an image file e.g. in Windows File Explorer:

1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 17 2023 : 23:09:43
Hi

There is a Windows interface available to do this.

Take a look at the fDropTargetHelper code for TIEFileDragDrop in iexWindowsFunctions.

Nigel
Xequte Software
www.imageen.com