Currently you can only drop files onto the edit windows. I would like to be able to drop files onto the doc switcher (or other side panels) and have them open in the main edit window.
In the Notepad_plus::dropFiles function if the drop point is not in one of the 2 edit windows, it passes the drop message to the window returned by RealChildWindowFromPoint. This might be intended to allow other plug-ins to handle drop messages, but from testing droping onto the Doc Switcher, the window returned by RealChildWindowFromPoint is not the Doc Switcher but a tab control that the doc switcher is probably hosted in and is a child of. So plugins probably wouldn't get the message anyway.
I think it would be more useful to change the function to check if the window is the sub edit window and if not then drop it into the main edit window.
Hi Michael,
This patch will be integrated in the next release.
Thank you for your contribution.
Don