I have a application that uses dag 'n' drop
Does anybody know how, when I call OnDrop, to get a file Name of the dragged if it is the thing being dropped ?
Thanks
Printable View
I have a application that uses dag 'n' drop
Does anybody know how, when I call OnDrop, to get a file Name of the dragged if it is the thing being dropped ?
Thanks
DragQueryFile() will give u both the number of files dropped and the names (see your documentation). DragQueryPoint() will give you the screen position where the drop occurred, and DragFinish() will wind up the drop.