Conversation

How to programmiclly drag and drop a file onto a window? [Edit]

(overview of excerpts from articles in conversation)

Newsgroup: embarcadero.public.delphi.nativeapi

# Lines
wrote on 25-Sep-2010:

The following link and other code are as close as I could find however neither work.
I am only dragging 1 file if that will simplify any.
Errors?
Improvements?
100
  
Remy Lebeau (TeamB) replied on 27-Sep-2010:

wrote in message news:✉forums.embarcadero.com...
  (snip)

The "preferred" way to pass data around is to implement the IDataObject and
  IDragSource interfaces in your code. Microsoft wants you to use the Win32
  API DoDragDrop() function, however since you want to send data to a specific
  window, that will not work as DoDragDrop() is an interactive function that
112
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Tue, 19 Nov 2024 13:31:30 UTC
Copyright © 2009-2024
HREF Tools Corp.