there are many Way and DragDrop is the Windows Way which i can use on Table-PC without Keyboard.
DragAcceptFiles() does exist in FiveWin v1.7 for Cl*pper from 1994 (!) which Code i use now with HMG.
have a look at those Code so it is no new Windows API Function.
Next was DDE before OLE-DragDrop (what i still search)
i´m sure that
Code: Select all
ON MOUSEMOVE DragMove( ThisWindow.Name ) ; ON MOUSEDRAG DragHere( ThisWindow.Name ) ;
so i search for DragAcceptFiles and found c:\MiniGUI\SOURCE\c_winapimisc.c which run under HMG
Demo show that DRAGQUERYFILES work and i can assign it to EditBox or Textbox.
For Media-File you got File-Name to use it as IMAGE or "play" Media-file
as you see Demo work ... but it is only a Demo so what about hole App
in a normal Window i have more than 1 x Control so i need to know "where" i drop.
i got the Tip from Andrés to use "Hover" ... i have to EVAL Sample to find out how to implement it
but even it i found out "where" i drop i need some "extra" to identify if it "allow" on "that" Control
under Xbase++ we have a Property DropZone := .T. so only on those Control User "can" drop.
so i like to ask for new Property "DropZone" in next HMG Release