Hello Andreas,
Some time ago I wrote an example for someone on how to use the EnableDragAndDrop function on a panel, and how to use it. I attached it to this post. If you drag files (e.g. fromWindows Explorer) into the rectangle on the panel, all file names will appear in the table.
Unfortunately you cannot drag files from a FileBrowser Tree window. So I think you will have to write your own function for this. Here is what I would do:
- In the callback function of your FileBrowser Tree, in case of an EVENT_LEFT_CLICK event, get the selected files.
- Wait until the user releases the mouse button (use GetRelativeMouseState in a while-loop to check this).
- Now check if the mouse cursor is over the Textbox.
To visualize the dragging, you could change the mouse cursor shape.
Success,
Wim