I’ve modified and extended the MultiDocumentPanel to handle things like dockable windows, draggable tabs, etc. I’ve also added functionality that allows you to drag a window, tab, etc. out of the panel to the desktop… very much like Photoshop CS4, etc.
Getting the window to the desktop is the easy part, but I want to be able to drag them back into the panel as well. I have several DnD targets in the panel, for example; between tabs, between docked windows, etc.
What’s the least hacky way to allow those DnD targets to detect the heavyweight window being dragged/dropped into them? Any ideas? Am I missing something obvious?