Borland C++ Builder control accept dropped files
Q: How do you make a control accept a file which is dragged over it?
Example: *.txt file is dropped onto an application and the file is opened by the application.
I would like to have an edit box accept a *.txt file which is dropped onto it. In addition, I would like an image box accept a *.bmp file which is dropped onto it.
I do not need help with opening these file types. What I need is how to have the control recognize that a file is being dropped, and how do I get the filename, path, etc.